-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
371a3ae
commit cc8b565
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1754,6 +1754,7 @@ void tokenRefreshExpiredTokenAuthenticated(String apiVersion, Vertx vertx, Vertx | |
@ValueSource(strings = {"v1", "v2"}) | ||
void tokenRefreshExpiredTokenUnauthenticated(String apiVersion, Vertx vertx, VertxTestContext testContext) { | ||
final int clientSiteId = 201; | ||
fakeAuth(clientSiteId, Role.GENERATOR); | ||
final String emailAddress = "[email protected]"; | ||
|
||
generateRefreshToken(apiVersion, vertx, "email", emailAddress, clientSiteId, genRespJson -> { | ||
|
@@ -3904,6 +3905,7 @@ private Tuple.Tuple2<JsonObject, SecretKey> createClientSideTokenGenerateRequest | |
}) | ||
void cstgUserOptsOutAfterTokenGenerate(boolean setOptoutCheckFlagInRequest, String id, IdentityType identityType, Vertx vertx, VertxTestContext testContext) throws NoSuchAlgorithmException, InvalidKeyException { | ||
setupCstgBackend("cstg.co.uk"); | ||
fakeAuth(111, Role.GENERATOR); | ||
|
||
final Tuple.Tuple2<JsonObject, SecretKey> data = createClientSideTokenGenerateRequest(identityType, id, Instant.now().toEpochMilli(), setOptoutCheckFlagInRequest); | ||
|
||
|