Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="bootstrap/app.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="bootstrap/app.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false" beStrictAboutOutputDuringTests="true" failOnRisky="true">
<testsuites>
<testsuite name="Application Test Suite">
<directory suffix="Test.php">./tests</directory>
Expand Down
5 changes: 2 additions & 3 deletions tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading