Skip to content

Commit adbd718

Browse files
clean up
1 parent 86b47c9 commit adbd718

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/main/java/com/uid2/admin/vertx/service/SaltService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.uid2.admin.vertx.service;
22

3-
import com.uid2.admin.AdminConst;
43
import com.uid2.admin.auth.AdminAuthMiddleware;
54
import com.uid2.admin.salt.SaltRotation;
65
import com.uid2.admin.salt.TargetDate;

src/test/java/com/uid2/admin/salt/SaltServiceTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void rotateSaltsNoNewSnapshot(Vertx vertx, VertxTestContext testContext) throws
111111
}
112112

113113
@Test
114-
void rotateSaltsWitnSpecificTargetDate(Vertx vertx, VertxTestContext testContext) throws Exception {
114+
void rotateSaltsWithSpecificTargetDate(Vertx vertx, VertxTestContext testContext) throws Exception {
115115
fakeAuth(Role.SUPER_USER);
116116
final SaltSnapshotBuilder[] snapshots = {
117117
SaltSnapshotBuilder.start().effective(daysEarlier(5)).expires(daysEarlier(4)).entries(10, daysEarlier(5)),
@@ -158,8 +158,8 @@ void rotateSaltsWithCustomAgeThresholdsEnabled(Vertx vertx, VertxTestContext tes
158158
});
159159
}
160160

161-
@Test
162-
void rotateSaltsWithCustomAgeThresholdsDisabled(Vertx vertx, VertxTestContext testContext) throws Exception {
161+
@Test
162+
void rotateSaltsWithDefaultAgeThresholds(Vertx vertx, VertxTestContext testContext) throws Exception {
163163
fakeAuth(Role.SUPER_USER);
164164

165165
when(saltRotation.isCustomAgeThresholdEnabled()).thenReturn(false);
@@ -184,8 +184,8 @@ void rotateSaltsWithCustomAgeThresholdsDisabled(Vertx vertx, VertxTestContext te
184184
});
185185
}
186186

187-
@Test
188-
void rotateSaltsWithCustomAgeThresholdsEnabledButMissingParameter(Vertx vertx, VertxTestContext testContext) throws Exception {
187+
@Test
188+
void rotateSaltsWithCustomAgeThresholdsEnabledButMissingParameter(Vertx vertx, VertxTestContext testContext) {
189189
fakeAuth(Role.SUPER_USER);
190190

191191
when(saltRotation.isCustomAgeThresholdEnabled()).thenReturn(true);

0 commit comments

Comments
 (0)