Skip to content

Commit 0d9257b

Browse files
committed
update tests
1 parent 6909f71 commit 0d9257b

File tree

1 file changed

+4
-4
lines changed
  • plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/credentials/sso

1 file changed

+4
-4
lines changed

plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/credentials/sso/DiskCacheTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ class DiskCacheTest {
776776

777777
sut.saveClientRegistration(key, testRegistration)
778778

779-
val loadedRegistration = sut.loadClientRegistration(key)
779+
val loadedRegistration = sut.loadClientRegistration(key, "testSource")
780780
assertNotNull(loadedRegistration)
781781
assertEquals(testRegistration, loadedRegistration)
782782
}
@@ -827,7 +827,7 @@ class DiskCacheTest {
827827
sut.saveClientRegistration(key, testRegistration)
828828
sut.invalidateClientRegistration(key)
829829

830-
val loadedRegistration = sut.loadClientRegistration(key)
830+
val loadedRegistration = sut.loadClientRegistration(key, "testSource")
831831
assertNull(loadedRegistration)
832832
}
833833

@@ -858,7 +858,7 @@ class DiskCacheTest {
858858
sut.saveClientRegistration(key, initialRegistration)
859859

860860
// Verify initial save
861-
val loadedInitial = sut.loadClientRegistration(key)
861+
val loadedInitial = sut.loadClientRegistration(key, "testSource")
862862
assertNotNull(loadedInitial)
863863
assertEquals(initialRegistration, loadedInitial)
864864

@@ -882,7 +882,7 @@ class DiskCacheTest {
882882
sut.saveClientRegistration(key, updatedRegistration)
883883

884884
// Load registration again
885-
val loadedUpdated = sut.loadClientRegistration(key)
885+
val loadedUpdated = sut.loadClientRegistration(key, "testSource")
886886

887887
// Verify that we get the updated registration, not the initial one
888888
assertNotNull(loadedUpdated)

0 commit comments

Comments
 (0)