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:
dotasek 2023-11-29 16:39:53 -05:00 committed by GitHub
parent 698849b9f2
commit c8f6f2fed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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);