diff --git a/phpunit.xml b/phpunit.xml index 867f2ff2..a7b442fa 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,5 @@ - + ./tests diff --git a/tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php b/tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php index 243641d2..e81356a5 100644 --- a/tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php +++ b/tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php @@ -48,12 +48,11 @@ public function makeRequest($url, $method = 'GET') { ); $response = $curlRequest->execute(); $err = $curlRequest->error(); - var_dump($response); + $curlRequest->close(); if ($err) { - var_dump($err); + $this->fail("Request returned an error: {$err}"); } - $curlRequest->close(); return json_decode($response, true); }