You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AmplifyPlugins/Auth/Tests/AWSCognitoAuthPluginUnitTests/TaskTests/AuthorizationTests/AWSAuthFetchSignInSessionOperationTests.swift
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -584,6 +584,59 @@ class AWSAuthFetchSignInSessionOperationTests: BaseAuthorizationTests {
584
584
}
585
585
}
586
586
587
+
/// Test fetch session with authorization in error state
588
+
///
589
+
/// - Given: An auth plugin with signedOut state
590
+
/// - When:
591
+
/// - I invoke fetchAuthSession and mock notSignedIn for getTokens
592
+
/// - Then:
593
+
/// - I should get an a valid session with the following details:
0 commit comments