Parcourir la source

Fix wrong namespace in test

Andreas Braun il y a 8 ans
Parent
commit
0005023434
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tests/Alcaeus/MongoDbAdapter/TestCase.php

+ 1 - 1
tests/Alcaeus/MongoDbAdapter/TestCase.php

@@ -124,7 +124,7 @@ abstract class TestCase extends BaseTestCase
         $result = $adminDb->command($doc);
         $arr = current($result->toArray());
         if (empty($arr->ok)) {
-            throw new RuntimeException("Failpoint failed");
+            throw new \RuntimeException("Failpoint failed");
         }
 
         return true;