mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
cleanup
This commit is contained in:
1 parent
0f42269d72
commit
deaa0015b3
1 file changed
+1
-2
+1
-2
@@ -236,7 +236,7 @@ class MongoTest extends TestCase
|
||||
'country' => 'UK',
|
||||
'counter' => 1
|
||||
]
|
||||
);
|
||||
);
|
||||
|
||||
$this->getDatabase()->bulkUpsert('movies_upsert', [
|
||||
[
|
||||
@@ -255,7 +255,6 @@ class MongoTest extends TestCase
|
||||
]);
|
||||
|
||||
$documents = $this->getDatabase()->find('movies_upsert')->cursor->firstBatch ?? [];
|
||||
var_dump($documents);
|
||||
self::assertCount(2, $documents);
|
||||
self::assertEquals(4, $documents[0]->counter);
|
||||
self::assertEquals('The godfather 2', $documents[1]->name);
|
||||
|
||||
Reference in new issue
Block a user