Переглянути джерело

Fix wrong namespace in test

Andreas Braun 8 роки тому
батько
коміт
0005023434
1 змінених файлів з 1 додано та 1 видалено
  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;