diff --git a/tests/Model/BSONArrayTest.php b/tests/Model/BSONArrayTest.php index 9f4191e79..c01bd0ced 100644 --- a/tests/Model/BSONArrayTest.php +++ b/tests/Model/BSONArrayTest.php @@ -1,9 +1,10 @@ collection = new Collection($this->manager, $this->getDatabaseName(), $this->getCollectionName()); $this->omitModifiedCount = version_compare($this->getServerVersion(), '2.6.0', '<'); } diff --git a/tests/Operation/DeleteFunctionalTest.php b/tests/Operation/DeleteFunctionalTest.php index 588083f1d..b76a4b819 100644 --- a/tests/Operation/DeleteFunctionalTest.php +++ b/tests/Operation/DeleteFunctionalTest.php @@ -1,14 +1,24 @@ collection = new Collection($this->manager, $this->getDatabaseName(), $this->getCollectionName()); + } + public function testDeleteOne() { $this->createFixtures(3); diff --git a/tests/Operation/InsertManyFunctionalTest.php b/tests/Operation/InsertManyFunctionalTest.php index fb7a535ef..902338cfd 100644 --- a/tests/Operation/InsertManyFunctionalTest.php +++ b/tests/Operation/InsertManyFunctionalTest.php @@ -1,7 +1,8 @@ collection = new Collection($this->manager, $this->getDatabaseName(), $this->getCollectionName()); + } + public function testInsertMany() { $documents = [ diff --git a/tests/Operation/InsertOneFunctionalTest.php b/tests/Operation/InsertOneFunctionalTest.php index f7f362cd9..7accb7f6b 100644 --- a/tests/Operation/InsertOneFunctionalTest.php +++ b/tests/Operation/InsertOneFunctionalTest.php @@ -1,7 +1,8 @@ collection = new Collection($this->manager, $this->getDatabaseName(), $this->getCollectionName()); + } + /** * @dataProvider provideDocumentWithExistingId */ diff --git a/tests/Operation/UpdateFunctionalTest.php b/tests/Operation/UpdateFunctionalTest.php index 1a5013a39..20f300fb4 100644 --- a/tests/Operation/UpdateFunctionalTest.php +++ b/tests/Operation/UpdateFunctionalTest.php @@ -1,7 +1,8 @@ collection = new Collection($this->manager, $this->getDatabaseName(), $this->getCollectionName()); $this->omitModifiedCount = version_compare($this->getServerVersion(), '2.6.0', '<'); }