Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode committed Oct 14, 2024
1 parent 5de45a8 commit 2ae536e
Showing 1 changed file with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,8 @@ extension FetchAuthSessionStateSequence {
class FetchAuthSessionStateResolverTests: XCTestCase {

func testValidFetchAuthSessionStateSequences() throws {
// let cognitoSession = AWSAuthCognitoSession.testData

let validSequences: [FetchAuthSessionStateSequence] = [
// StateSequence(oldState: .initializingFetchAuthSession,
// event: FetchAuthSessionEvent(eventType: .fetchIdentity(cognitoSession)),
// expected: .fetchingIdentity(FetchIdentityState.configuring)),
// StateSequence(oldState: .initializingFetchAuthSession,
// event: FetchAuthSessionEvent(eventType: .fetchUserPoolTokens(cognitoSession)),
// expected: .fetchingUserPoolTokens(FetchUserPoolTokensState.configuring)),
// StateSequence(oldState: .fetchingUserPoolTokens(FetchUserPoolTokensState.configuring),
// event: FetchAuthSessionEvent(eventType: .fetchIdentity(cognitoSession)),
// expected: .fetchingIdentity(FetchIdentityState.configuring)),
// StateSequence(oldState: .fetchingIdentity(FetchIdentityState.configuring),
// event: FetchAuthSessionEvent(eventType: .fetchAWSCredentials(cognitoSession)),
// expected: .fetchingAWSCredentials(FetchAWSCredentialsState.configuring)),
// StateSequence(oldState: .fetchingAWSCredentials(FetchAWSCredentialsState.fetched),
// event: FetchAuthSessionEvent(eventType: .fetchedAuthSession(cognitoSession)),
// expected: .sessionEstablished)
]

let validSequences: [FetchAuthSessionStateSequence] = []

for sequence in validSequences {
sequence.assertResolvesToExpected()
Expand Down

0 comments on commit 2ae536e

Please sign in to comment.