From bfe82cfe9e4d71b6f02b35d9236f1d62ebe3526c Mon Sep 17 00:00:00 2001 From: Shmuel Fogel Date: Mon, 19 Dec 2022 09:08:14 +0200 Subject: [PATCH] Update tests/MongoTest.php Co-authored-by: Jake Barnby --- tests/MongoTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?? []; }