Skip to content

Commit 597b943

Browse files
author
mpv1989
committed
Fix tests
1 parent 59508b3 commit 597b943

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/java/com/arangodb/ArangoCollectionTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,6 @@ public void createHashIndex() {
825825
assertThat(indexResult.getConstraint(), is(nullValue()));
826826
assertThat(indexResult.getFields(), hasItem("a"));
827827
assertThat(indexResult.getFields(), hasItem("b"));
828-
assertThat(indexResult.getGeoJson(), is(nullValue()));
829828
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
830829
assertThat(indexResult.getIsNewlyCreated(), is(true));
831830
assertThat(indexResult.getMinLength(), is(nullValue()));
@@ -849,7 +848,6 @@ public void createGeoIndex() {
849848
assertThat(indexResult.getMinLength(), is(nullValue()));
850849
assertThat(indexResult.getSparse(), is(true));
851850
assertThat(indexResult.getUnique(), is(false));
852-
assertThat(indexResult.getGeoJson(), is(false));
853851
final Integer minorVersion = Integer.valueOf(db.getVersion().getVersion().split("\\.")[1]);
854852
if (minorVersion <= 3) {
855853
assertThat(indexResult.getType(), is(IndexType.geo1));
@@ -874,10 +872,8 @@ public void createGeo2Index() {
874872
assertThat(indexResult.getUnique(), is(false));
875873
final Integer minorVersion = Integer.valueOf(db.getVersion().getVersion().split("\\.")[1]);
876874
if (minorVersion <= 3) {
877-
assertThat(indexResult.getGeoJson(), is(nullValue()));
878875
assertThat(indexResult.getType(), is(IndexType.geo2));
879876
} else {
880-
assertThat(indexResult.getGeoJson(), is(false));
881877
assertThat(indexResult.getType(), is(IndexType.geo));
882878
}
883879
}
@@ -892,7 +888,6 @@ public void createSkiplistIndex() {
892888
assertThat(indexResult.getConstraint(), is(nullValue()));
893889
assertThat(indexResult.getFields(), hasItem("a"));
894890
assertThat(indexResult.getFields(), hasItem("b"));
895-
assertThat(indexResult.getGeoJson(), is(nullValue()));
896891
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
897892
assertThat(indexResult.getIsNewlyCreated(), is(true));
898893
assertThat(indexResult.getMinLength(), is(nullValue()));
@@ -911,7 +906,6 @@ public void createPersistentIndex() {
911906
assertThat(indexResult.getConstraint(), is(nullValue()));
912907
assertThat(indexResult.getFields(), hasItem("a"));
913908
assertThat(indexResult.getFields(), hasItem("b"));
914-
assertThat(indexResult.getGeoJson(), is(nullValue()));
915909
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
916910
assertThat(indexResult.getIsNewlyCreated(), is(true));
917911
assertThat(indexResult.getMinLength(), is(nullValue()));
@@ -928,7 +922,6 @@ public void createFulltextIndex() {
928922
assertThat(indexResult, is(notNullValue()));
929923
assertThat(indexResult.getConstraint(), is(nullValue()));
930924
assertThat(indexResult.getFields(), hasItem("a"));
931-
assertThat(indexResult.getGeoJson(), is(nullValue()));
932925
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
933926
assertThat(indexResult.getIsNewlyCreated(), is(true));
934927
assertThat(indexResult.getSparse(), is(true));

0 commit comments

Comments
 (0)