Browse Source

Fix wrong namespace in test

Andreas Braun 8 năm trước cách đây
mục cha
commit
0005023434
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;