Remove basic auth (unneeded) for AU connectathon test (#1503)
* Remove basic auth (unneeded) * Disable test altogether * Add reason for disable * Actually, just disable in surefire
This commit is contained in:
parent
698849b9f2
commit
c8f6f2fed1
|
@ -11,17 +11,18 @@ import org.hl7.fhir.r4.model.Base64BinaryType;
|
|||
import org.hl7.fhir.r4.model.Bundle;
|
||||
import org.hl7.fhir.r4.utils.client.FHIRToolingClient;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class IpsBuilderTest {
|
||||
|
||||
@Test
|
||||
@Tag("excludedInSurefire")
|
||||
@DisplayName("Test IPS Generation")
|
||||
void testIpsGeneration() throws URISyntaxException, FileNotFoundException, IOException {
|
||||
FHIRToolingClient server = new FHIRToolingClient("https://hl7auconnectathon.salessbx.smiledigitalhealth.com/fhir-request", "FHIR-Validator");
|
||||
server.setUsername("HL7AU");
|
||||
server.setPassword("Connectathon123");
|
||||
Bundle bnd = IPSBuilder.generateIPS(server, "wang-li");
|
||||
new JsonParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(Utilities.path("[tmp]", "ips-gen.json")), bnd);
|
||||
|
||||
|
|
Loading…
Reference in New Issue