File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ public function testCreateDatabaseDeleteIt()
42
42
{
43
43
44
44
$ database = 'ArangoTestSuiteDatabaseTest01 ' ;
45
+
46
+ try {
47
+ $ e = null ;
48
+ Database::delete ($ this ->connection , $ database );
49
+ } catch (\Exception $ e ) {
50
+ // don't bother us... just give us the $e
51
+ }
45
52
46
53
$ response = Database::create ($ this ->connection , $ database );
47
54
@@ -162,6 +169,13 @@ public function testCreateDatabaseSwitchToItAndCreateAnotherOne()
162
169
163
170
$ database = 'ArangoTestSuiteDatabaseTest01 ' ;
164
171
$ database2 = 'ArangoTestSuiteDatabaseTest02 ' ;
172
+
173
+ try {
174
+ $ e = null ;
175
+ Database::delete ($ this ->connection , $ database );
176
+ } catch (\Exception $ e ) {
177
+ // don't bother us...
178
+ }
165
179
166
180
$ response = Database::create ($ this ->connection , $ database );
167
181
You can’t perform that action at this time.
0 commit comments