Explorar o código

Fix wrong namespace in test

Andreas Braun %!s(int64=8) %!d(string=hai) anos
pai
achega
0005023434
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         $result = $adminDb->command($doc);
         $arr = current($result->toArray());
         $arr = current($result->toArray());
         if (empty($arr->ok)) {
         if (empty($arr->ok)) {
-            throw new RuntimeException("Failpoint failed");
+            throw new \RuntimeException("Failpoint failed");
         }
         }
 
 
         return true;
         return true;