Skip to content

Commit

Permalink
ERE-730 added test case for Stop pressing
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelB committed Sep 30, 2024
1 parent 0cbcd2a commit 28f0658
Show file tree
Hide file tree
Showing 2 changed files with 514 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
import java.time.Instant;
import java.util.UUID;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.databind.ObjectMapper;

import jakarta.json.Json;
import jakarta.json.JsonArray;
import jakarta.json.JsonObject;
import jakarta.json.JsonString;
import jakarta.json.JsonValue;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.databind.ObjectMapper;

public class WebsocketXmlPrescriptionClientTest {

@Test
Expand Down Expand Up @@ -145,6 +145,22 @@ public void testXmlPrescriptionSignAndUploadBundlesWithRuntimeConfig() {
}
}

@Test
@Disabled
public void testXmlPrescriptionSignAndUploadBundlesV1_1_0() {

String jsonBundle;
try {
jsonBundle = new String(Files.readAllBytes(Paths.get("src/test/resources/websocket-messages/SignAndUploadBundles-V1_1_0.json")));

jsonBundle = jsonBundle.replaceFirst("d7f4c2ab-aedc-4c1d-a0e1-ddc7ebaa5ecd", UUID.randomUUID().toString());

sendMessage(jsonBundle);
} catch (IOException e) {
e.printStackTrace();
}
}

@Test
@Disabled
public void testGetCardsWithRuntimeConfig() {
Expand Down
Loading

0 comments on commit 28f0658

Please sign in to comment.