Pint linter ran

This commit is contained in:
wess
2023-08-23 13:12:43 -04:00
parent eba91ae55a
commit bf5f0a8419
382 changed files with 10227 additions and 10339 deletions
+4 -4
View File
@@ -68,7 +68,7 @@ class HTTPTest extends Scope
{
// Preparation
$previousEndpoint = $this->client->getEndpoint();
$this->client->setEndpoint("http://localhost");
$this->client->setEndpoint('http://localhost');
/**
* Test for SUCCESS
@@ -96,7 +96,7 @@ class HTTPTest extends Scope
public function testSpecs()
{
$directory = __DIR__ . '/../../../app/config/specs/';
$directory = __DIR__.'/../../../app/config/specs/';
$files = scandir($directory);
$client = new Client();
@@ -120,7 +120,7 @@ class HTTPTest extends Scope
break;
}
}
if (!$allowed) {
if (! $allowed) {
continue;
}
@@ -129,7 +129,7 @@ class HTTPTest extends Scope
*/
$response = $client->call(Client::METHOD_POST, '/validator/debug', [
'content-type' => 'application/json',
], json_decode(file_get_contents($directory . $file), true));
], json_decode(file_get_contents($directory.$file), true));
$response['body'] = json_decode($response['body'], true);
$this->assertEquals(200, $response['headers']['status-code']);