Fix error
This commit is contained in:
parent
6c92962468
commit
e15afe65c0
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue