diff --git a/app/config/collections.php b/app/config/collections.php index b8b0afdea6..15471c8c77 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -2163,14 +2163,7 @@ $collections = [ 'attributes' => ['status'], 'lengths' => [Database::LENGTH_KEY], 'orders' => [Database::ORDER_ASC], - ], - [ - '$id' => '_key_search', - 'type' => Database::INDEX_FULLTEXT, - 'attributes' => ['search'], - 'lengths' => [2048], - 'orders' => [Database::ORDER_ASC], - ], + ] ], ], diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index a9e9096fe6..ce220806bb 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -331,38 +331,6 @@ class FunctionsCustomServerTest extends Scope return $data; } - /** - * @depends testCreateDeployment - */ - public function testListBuild(array $data):array - { - /** - * Test for SUCCESS - */ - $response = $this->client->call(Client::METHOD_GET, '/builds', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders())); - - $this->assertEquals(200, $response['headers']['status-code']); - $this->assertEquals(1, $response['body']['sum']); - $this->assertEquals($response['body']['builds'][0]['status'], 'ready'); - - /** - * Check Queries work - */ - $responseQuery = $this->client->call(Client::METHOD_GET, '/builds?status=status.equal(\"ready\")', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders())); - - $this->assertEquals(200, $responseQuery['headers']['status-code']); - $this->assertEquals(1, $responseQuery['body']['sum']); - $this->assertEquals($responseQuery['body']['builds'][0]['status'], 'ready'); - - return $data; - } - /** * @depends testCreateDeployment */