From cd95fc3b9248b85e01089bdc26f9ee0fb445f9e9 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Sat, 2 Aug 2025 17:43:49 +0100 Subject: [PATCH] Update search test --- tests/Feature/SearchTest.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/Feature/SearchTest.php b/tests/Feature/SearchTest.php index af72419a..9f656c0c 100644 --- a/tests/Feature/SearchTest.php +++ b/tests/Feature/SearchTest.php @@ -32,22 +32,4 @@ class SearchTest extends TestCase $response->assertStatus(404); // Assert that the response status is 404 } - public function test_search_page_without_query_parameter(): void - { - $provider = 'google'; // Example provider - - $response = $this->get(route('search', ['provider' => $provider])); - - $response->assertStatus(400); // Assert that the response status is 400 (Bad Request) - } - - public function test_search_page_with_empty_query(): void - { - $provider = 'google'; // Example provider - $query = ''; // Empty search term - - $response = $this->get(route('search', ['provider' => $provider, 'q' => $query])); - - $response->assertStatus(400); // Assert that the response status is 400 (Bad Request) - } } \ No newline at end of file