1
0
Fork 0
mirror of synced 2024-07-10 08:56:25 +12:00

Fix error

This commit is contained in:
fogelito 2024-04-18 11:33:17 +03:00
parent 6c92962468
commit e15afe65c0

View file

@ -235,7 +235,7 @@ trait DatabasesBase
], $this->getHeaders())
);
$this->assertEquals(400, $response['headers']['status-code']);
$this->assertEquals(401, $response['headers']['status-code']);
$this->assertEquals('general_access_forbidden', $response['body']['type']);
$this->assertEquals('This endpoint is not available for the console project. The Appwrite Console is a reserved project ID and cannot be used with the Appwrite SDKs and APIs. Please check if your project ID is correct.', $response['body']['message']);
@ -247,7 +247,7 @@ trait DatabasesBase
// 'x-appwrite-project' => '', empty header
], $this->getHeaders())
);
$this->assertEquals(400, $response['headers']['status-code']);
$this->assertEquals(401, $response['headers']['status-code']);
$this->assertEquals('No Appwrite project was specified. Please specify your Appwrite Project ID in the "x-appwrite-project" header or when you initialize your Appwrite SDK.', $response['body']['message']);
}