File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,19 @@ abstract class TestCase extends PhpUnitTestCase
2222 protected function setUp (): void
2323 {
2424 $ this ->arangoClient = new ArangoClient ([
25- 'username ' => 'root ' ,
26- 'database ' => $ this ->testDatabaseName
25+ 'username ' => 'root '
2726 ]);
2827
2928 $ this ->schemaManager = new SchemaManager ($ this ->arangoClient );
3029 $ this ->administrationClient = new AdminManager ($ this ->arangoClient );
3130
3231 $ this ->createTestDatabase ();
32+ $ this ->arangoClient ->setDatabase ($ this ->testDatabaseName );
3333 }
3434
3535 protected function createTestDatabase ()
3636 {
37+ $ this ->arangoClient ->setDatabase ('_system ' );
3738 if (! $ this ->arangoClient ->schema ()->hasDatabase ($ this ->testDatabaseName )) {
3839 $ this ->arangoClient ->schema ()->createDatabase ($ this ->testDatabaseName );
3940 }
You can’t perform that action at this time.
0 commit comments