From 1cf9a321e46419715c9a1fd3b8e756c6975a82d7 Mon Sep 17 00:00:00 2001 From: duncdrum Date: Sat, 17 Apr 2021 12:16:45 +0200 Subject: [PATCH] fix(IT): disable tests for unimplmented features see #50 --- src/test/java/com/fusiondb/studio/api/CollectionIT.java | 6 +++++- src/test/java/com/fusiondb/studio/api/DocumentIT.java | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/fusiondb/studio/api/CollectionIT.java b/src/test/java/com/fusiondb/studio/api/CollectionIT.java index 8207f53..20da691 100644 --- a/src/test/java/com/fusiondb/studio/api/CollectionIT.java +++ b/src/test/java/com/fusiondb/studio/api/CollectionIT.java @@ -20,6 +20,7 @@ import io.restassured.http.Header; import io.restassured.response.ExtractableResponse; import io.restassured.response.Response; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import java.util.Map; @@ -44,6 +45,7 @@ public void createCollection() { readCollection(colPath); } + @Disabled("not yet implemented see issue 50") @Test public void createCollectionWithSpaceInName() { final String colPath = "/db/fusion-studio-api-test-document-it-col 2"; @@ -51,7 +53,8 @@ public void createCollectionWithSpaceInName() { assertEquals(colPath, collectionResponse.jsonPath().getString("uri")); readCollection(colPath); } - + + @Disabled("not yet implemented see issue 50") @Test public void createCollectionWithPlusInName() { final String colPath = "/db/fusion-studio-api-test-document-it-col+3"; @@ -60,6 +63,7 @@ public void createCollectionWithPlusInName() { readCollection(colPath); } + @Disabled("not yet implemented see issue 50") @Test public void createCollectionWithUnicodeCharactersInName() { final String colPath = "/db/مجموعة-فيوجن-ستوديو"; diff --git a/src/test/java/com/fusiondb/studio/api/DocumentIT.java b/src/test/java/com/fusiondb/studio/api/DocumentIT.java index e634833..74c4bf2 100644 --- a/src/test/java/com/fusiondb/studio/api/DocumentIT.java +++ b/src/test/java/com/fusiondb/studio/api/DocumentIT.java @@ -22,6 +22,8 @@ import io.restassured.response.Response; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Disabled; + import java.util.Map; @@ -50,6 +52,7 @@ public void createXml() { readDocument(docPath); } + @Disabled("not yet implemented see issue 50") @Test public void createXmlWithSpaceInName() { final String docPath = "/db/fusion-studio-api-test-document-it 2.xml"; @@ -60,6 +63,7 @@ public void createXmlWithSpaceInName() { readDocument(docPath); } + @Disabled("not yet implemented see issue 50") @Test public void createXmlWithPlusInName() { final String docPath = "/db/fusion-studio-api-test-document-it+3.xml"; @@ -70,6 +74,7 @@ public void createXmlWithPlusInName() { readDocument(docPath); } + @Disabled("not yet implemented see issue 50") @Test public void createXmlWithUnicodeCharactersInName() { final String docPath = "/db/وثيقة-فيوجن-ستوديو.xml-4";