mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix post-merge e2e test regressions
This commit is contained in:
@@ -122,14 +122,6 @@ class HTTPTest extends Scope
|
||||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
}
|
||||
|
||||
public function testConsoleRootWithoutRouteDoesNotFatal()
|
||||
{
|
||||
$response = $this->client->call(Client::METHOD_GET, '/console/', $this->getHeaders());
|
||||
|
||||
$this->assertEquals(404, $response['headers']['status-code']);
|
||||
$this->assertEquals('general_route_not_found', $response['body']['type']);
|
||||
}
|
||||
|
||||
public function testCors()
|
||||
{
|
||||
|
||||
|
||||
@@ -1324,8 +1324,8 @@ class UsageTest extends Scope
|
||||
$this->assertEquals($requestsTotal, $response['body']['requests'][array_key_last($response['body']['requests'])]['value']);
|
||||
$this->validateDates($response['body']['requests']);
|
||||
// vectordbTotal should reflect only VectorsDB instances, not relational databases.
|
||||
$this->assertEquals($vectordbTotal, $response['body']['vectordbDatabasesTotal']);
|
||||
$this->assertEquals($documentsTotal, $response['body']['vectordbDocumentsTotal']);
|
||||
$this->assertEquals($vectordbTotal, $response['body']['vectorsdbDatabasesTotal']);
|
||||
$this->assertEquals($documentsTotal, $response['body']['vectorsdbDocumentsTotal']);
|
||||
});
|
||||
|
||||
$response = $this->client->call(
|
||||
|
||||
Reference in New Issue
Block a user