Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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