Skip to content

Commit 6c94276

Browse files
minor fix to keySalt naming
1 parent 82de10b commit 6c94276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,8 @@ void testKeyRotationLogBucketFormat(boolean v4Enabled, int expectedNewKeyBuckets
675675
var lastSnapshot = SaltSnapshotBuilder.start()
676676
.entries(SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willRefresh).currentSalt(),
677677
SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willNotRefresh).currentSalt(),
678-
SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willRefresh).currentKey(1),
679-
SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willNotRefresh).currentKey(2))
678+
SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willRefresh).currentKeySalt(1),
679+
SaltBuilder.start().lastUpdated(targetDate().minusDays(60)).refreshFrom(willNotRefresh).currentKeySalt(2))
680680
.build();
681681

682682
saltRotation.rotateSalts(lastSnapshot, minAges, 1, targetDate());

0 commit comments

Comments
 (0)