Procházet zdrojové kódy

Fix wrong namespace in test

Andreas Braun před 8 roky
rodič
revize
0005023434
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;