From 983c810a45bc50c285e8a7fda43ab7ac6c744387 Mon Sep 17 00:00:00 2001 From: prateek banga Date: Thu, 10 Aug 2023 17:18:45 +0530 Subject: [PATCH] adds assertion in test case --- tests/e2e/Services/Databases/DatabasesCustomClientTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Databases/DatabasesCustomClientTest.php b/tests/e2e/Services/Databases/DatabasesCustomClientTest.php index 0b86dba9cb..a1af48a0ea 100644 --- a/tests/e2e/Services/Databases/DatabasesCustomClientTest.php +++ b/tests/e2e/Services/Databases/DatabasesCustomClientTest.php @@ -577,7 +577,7 @@ class DatabasesCustomClientTest extends Scope ]); $this->assertEquals(200, $response['headers']['status-code']); - + $this->assertEquals(11, $response['body'][$collection2['body']['$id']]['collection3']['Rating']); // Update collection 2 document // We should not be allowed to update the document as we do not have permission for collection 2. $response = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collection2['body']['$id'] . '/documents/' . $collection2['body']['$id'], array_merge([