Skip to content

Commit f0c85df

Browse files
author
Mark
committed
fixed tests
1 parent 44e285c commit f0c85df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/arangodb/ArangoDatabaseTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void deleteSystemCollection() throws InterruptedException, ExecutionExcep
115115
try {
116116
db.collection(name).getInfo().get();
117117
fail();
118-
} catch (final ArangoDBException e) {
118+
} catch (final Exception e) {
119119
}
120120
}
121121

@@ -126,13 +126,13 @@ public void deleteSystemCollectionFail() throws InterruptedException, ExecutionE
126126
try {
127127
db.collection(name).drop().get();
128128
fail();
129-
} catch (final ArangoDBException e) {
129+
} catch (final Exception e) {
130130
}
131131
db.collection(name).drop(true).get();
132132
try {
133133
db.collection(name).getInfo().get();
134134
fail();
135-
} catch (final ArangoDBException e) {
135+
} catch (final Exception e) {
136136
}
137137
}
138138

0 commit comments

Comments
 (0)