second version error Exception

This commit is contained in:
fogelito committed 2022-12-14 13:15:48 +02:00
1 parent 7e948a82ad
commit 765acfe17f
1 file changed
+1 -1
+1 -1
View File
@@ -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()