mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Pint linter ran
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user