mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Linter fix
This commit is contained in:
@@ -18,7 +18,7 @@ class ProjectsCustomServerTest extends Scope
|
||||
public function testCreateProjectRule()
|
||||
{
|
||||
$testId = \uniqid();
|
||||
|
||||
|
||||
$headers = array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
@@ -31,14 +31,14 @@ class ProjectsCustomServerTest extends Scope
|
||||
]);
|
||||
|
||||
\var_dump($response);
|
||||
|
||||
|
||||
$this->assertEquals(201, $response['headers']['status-code']);
|
||||
|
||||
$response = $this->client->call(Client::METHOD_POST, '/proxy/rules/api', $headers, [
|
||||
'resourceType' => 'api',
|
||||
'domain' => $testId . '-abc.test.io',
|
||||
]);
|
||||
|
||||
|
||||
$this->assertEquals(201, $response['headers']['status-code']);
|
||||
|
||||
// duplicate rule
|
||||
|
||||
Reference in New Issue
Block a user