From 765acfe17f1c7518dbfb2c90d659412f73f3e9fb Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 14 Dec 2022 13:15:48 +0200 Subject: [PATCH] second version error Exception --- tests/MongoTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()