diff --git a/tests/MongoTest.php b/tests/MongoTest.php index 2a3d2f1c11..508c1e6b2b 100644 --- a/tests/MongoTest.php +++ b/tests/MongoTest.php @@ -129,7 +129,7 @@ class MongoTest extends TestCase $this->getDatabase()->find( 'movies', - ['$where' => "sleep(1000) || true"], + ['$where' => 'sleep(1000) || true'], ['maxTimeMS'=> 1] )->cursor->firstBatch ?? []; }