PM-7392 - TokenSvc tests - clean up test names that reference removed refresh token migrated flag.

This commit is contained in:
Jared Snider 2024-05-02 18:35:38 -04:00
parent 6b2a032ceb
commit e4d31d5500
No known key found for this signature in database
GPG Key ID: A149DDD612516286
1 changed files with 4 additions and 4 deletions

View File

@ -1314,7 +1314,7 @@ describe("TokenService", () => {
tokenService = createTokenService(supportsSecureStorage);
});
it("should get the refresh token from secure storage when no user id is specified and the migration flag is set to true", async () => {
it("should get the refresh token from secure storage when no user id is specified", async () => {
// Arrange
singleUserStateProvider
.getFake(userIdFromAccessToken, REFRESH_TOKEN_MEMORY)
@ -1337,7 +1337,7 @@ describe("TokenService", () => {
expect(result).toEqual(refreshToken);
});
it("should get the refresh token from secure storage when user id is specified and the migration flag set to true", async () => {
it("should get the refresh token from secure storage when user id is specified", async () => {
// Arrange
singleUserStateProvider
@ -1356,7 +1356,7 @@ describe("TokenService", () => {
expect(result).toEqual(refreshToken);
});
it("should fallback and get the refresh token from disk when user id is specified and the migration flag is set to false even if the platform supports secure storage", async () => {
it("should fallback and get the refresh token from disk when user id is specified even if the platform supports secure storage", async () => {
// Arrange
singleUserStateProvider
.getFake(userIdFromAccessToken, REFRESH_TOKEN_MEMORY)
@ -1376,7 +1376,7 @@ describe("TokenService", () => {
expect(secureStorageService.get).not.toHaveBeenCalled();
});
it("should fallback and get the refresh token from disk when no user id is specified and the migration flag is set to false even if the platform supports secure storage", async () => {
it("should fallback and get the refresh token from disk when no user id is specified even if the platform supports secure storage", async () => {
// Arrange
singleUserStateProvider
.getFake(userIdFromAccessToken, REFRESH_TOKEN_MEMORY)