diff --git a/tests/MongoTest.php b/tests/MongoTest.php index 5765a4ef3d..2a3d2f1c11 100644 --- a/tests/MongoTest.php +++ b/tests/MongoTest.php @@ -119,7 +119,7 @@ class MongoTest extends TestCase { self::expectException(Exception::class); self::expectExceptionCode(11000); - $this->getDatabase()->insert('movies', ['_id' => 999, 'b' => 'Duplication']); + $this->getDatabase()->insert('movies', ['_id' => 999]); } public function testExceedTimeException()