Skip to content

Commit fb0eb55

Browse files
committed
failed build
1 parent e7d3237 commit fb0eb55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AmplifyPlugins/Auth/Tests/AWSCognitoAuthPluginUnitTests/ConfigurationTests/AuthFlowTypeTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class AuthFlowTypeTests: XCTestCase {
4949
XCTAssertEqual(String(data: userPassword, encoding: .utf8), "{\"type\":\"USER_PASSWORD_AUTH\"}")
5050

5151
let userAuth = try encoder.encode(AuthFlowType.userAuth(preferredFirstFactor: nil))
52-
XCTAssertTrue(String(data: userAuth, encoding: .utf8)?.contains("\"preferredFirstFactor\":null"))
53-
XCTAssertTrue(String(data: userAuth, encoding: .utf8)?.contains("\"type\":\"USER_AUTH\""))
52+
XCTAssertTrue(String(data: userAuth, encoding: .utf8)?.contains("\"preferredFirstFactor\":null") == true)
53+
XCTAssertTrue(String(data: userAuth, encoding: .utf8)?.contains("\"type\":\"USER_AUTH\"") == true)
5454
}
5555

5656
func testDecoding() throws {

0 commit comments

Comments
 (0)