Linter fix

This commit is contained in:
Matej Bačo
2025-04-25 12:57:55 +02:00
parent 23c4fa27be
commit 65bb7c6dfd
2 changed files with 4 additions and 4 deletions
@@ -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