Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fe35bbd8 authored by Youn Cadoret's avatar Youn Cadoret
Browse files

IUAINFRA-47 add javadoc + TU

parent b98ad8eb
No related branches found
No related tags found
1 merge request!3Feature/iuainfra 31
......@@ -3,6 +3,7 @@ package net.ihe.gazelle.app.accesstokenproviderapi.application;
import org.junit.jupiter.api.Test;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import static org.junit.jupiter.api.Assertions.assertNotNull;
......@@ -10,13 +11,14 @@ class DummyAuthzServerSoapuiTest {
private static final String SUBJECT = "aamrein";
private static final String AUDIENCE = "audience";
private String resourcesFile = new File("src/test/resources/audience.properties").getPath();
/**
* get access token with an Audience path defined
*/
@Test
public void getAccessTokenWithPathAudienceTest() {
public void getAccessTokenWithPathAudienceTest() throws IOException {
String resourcesFile = new File("src/test/resources/audience.properties").getCanonicalPath();
DummyAuthzServerSoapui dummyAuthzServer = new DummyAuthzServerSoapui();
assertNotNull(dummyAuthzServer.getAccessToken(SUBJECT, AUDIENCE, null, null, resourcesFile));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment