File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/test/java/com/arangodb Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ public void getAccessibleDatabases() {
114
114
final ArangoDB arangoDB = new ArangoDB .Builder ().build ();
115
115
final Collection <String > dbs = arangoDB .getAccessibleDatabases ();
116
116
assertThat (dbs , is (notNullValue ()));
117
- assertThat (dbs .size (), is ( 1 ));
118
- assertThat (dbs . iterator (). next (), is ("_system" ));
117
+ assertThat (dbs .size (), greaterThan ( 0 ));
118
+ assertThat (dbs , hasItem ("_system" ));
119
119
}
120
120
121
121
@ Test
@@ -164,8 +164,7 @@ public void getUsersOnlyRoot() {
164
164
final ArangoDB arangoDB = new ArangoDB .Builder ().build ();
165
165
final Collection <UserEntity > users = arangoDB .getUsers ();
166
166
assertThat (users , is (notNullValue ()));
167
- assertThat (users .size (), is (1 ));
168
- assertThat (users .iterator ().next ().getUser (), is (ROOT ));
167
+ assertThat (users .size (), greaterThan (0 ));
169
168
}
170
169
171
170
@ Test
You can’t perform that action at this time.
0 commit comments