Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 10, 2023
1 parent f5a3bf3 commit 44d8d16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
public class MiwSsiCatalogTest {

protected static final Participant SOKRATES = new Participant(SOKRATES_NAME, SOKRATES_BPN, sokratesConfiguration());
static final String MIW_SOKRATES_URL = "http://localhost:8080";
static final String OAUTH_TOKEN_URL = "http://localhost:8081/realms/miw_test/protocol/openid-connect/token";
static final String MIW_SOKRATES_URL = "http://localhost:8000";
static final String OAUTH_TOKEN_URL = "http://localhost:8080/realms/miw_test/protocol/openid-connect/token";

@RegisterExtension
protected static final ParticipantRuntime SOKRATES_RUNTIME = new ParticipantRuntime(
Expand All @@ -56,7 +56,7 @@ public static Map<String, String> sokratesSsiMiwConfiguration() {
put("tx.ssi.oauth.client.id", "miw_private_client");
put("tx.ssi.oauth.client.secret.alias", "client_secret_alias");
put("tx.ssi.miw.authority.id", "BPNL000000000000");
put("tx.ssi.miw.authority.issuer", "did:web:localhost%3A8080:BPNL000000000000");
put("tx.ssi.miw.authority.issuer", "did:web:localhost%3A8000:BPNL000000000000");
put("tx.vault.seed.secrets", "client_secret_alias:miw_private_client");
put("tx.ssi.endpoint.audience", SOKRATES_DSP_CALLBACK);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class WalletTest {
static final String MIW_SOKRATES_URL = "http://localhost:8000";
static final String OAUTH_TOKEN_URL = "http://localhost:8080/realms/miw_test/protocol/openid-connect/token";
private static final ObjectMapper OBJECT_MAPPER = JacksonJsonLd.createObjectMapper();
private static final String OTHER_PARTICIPANTS_DID = "did:web:localhost%3A8080:BPNL000000000042";
private static final String OTHER_PARTICIPANTS_DID = "did:web:localhost%3A8000:BPNL000000000042";
private final TypeReference<Map<String, Object>> mapRef = new TypeReference<>() {
};
private MiwApiClient client;
Expand Down

0 comments on commit 44d8d16

Please sign in to comment.