Skip to content

Commit

Permalink
fix(IT): disable tests for unimplmented features
Browse files Browse the repository at this point in the history
see #50
  • Loading branch information
duncdrum committed Apr 17, 2021
1 parent f904a53 commit 1cf9a32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/java/com/fusiondb/studio/api/CollectionIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -44,14 +45,16 @@ 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";
final ExtractableResponse<Response> collectionResponse = createCollection(colPath);
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";
Expand All @@ -60,6 +63,7 @@ public void createCollectionWithPlusInName() {
readCollection(colPath);
}

@Disabled("not yet implemented see issue 50")
@Test
public void createCollectionWithUnicodeCharactersInName() {
final String colPath = "/db/مجموعة-فيوجن-ستوديو";
Expand Down
5 changes: 5 additions & 0 deletions src/test/java/com/fusiondb/studio/api/DocumentIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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";
Expand All @@ -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";
Expand All @@ -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";
Expand Down

0 comments on commit 1cf9a32

Please sign in to comment.