Skip to content

Commit

Permalink
updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
george-bafaloukas-forgerock committed Oct 9, 2024
1 parent f44be9c commit 455b161
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ class AA_05_DeviceBindingCallbackTest: CallbackBaseTest {
ex.fulfill()
})
waitForExpectations(timeout: 60, handler: nil)
if isSimulator {
XCTAssertEqual(bindingResult, "DeviceBinding/Signing is not supported on the iOS Simulator")
return
}

XCTAssertEqual(bindingResult, "Success")

Expand Down Expand Up @@ -301,10 +297,7 @@ class AA_05_DeviceBindingCallbackTest: CallbackBaseTest {
})
waitForExpectations(timeout: 60, handler: nil)

if isSimulator {
XCTAssertEqual(bindingResult, "DeviceBinding/Signing is not supported on the iOS Simulator")
return
}

XCTAssertEqual(bindingResult, "Success")

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,7 @@ class AA_06_DeviceSigningVerifierCallbackTest: CallbackBaseTest {
ex.fulfill()
})
waitForExpectations(timeout: 60, handler: nil)
if isSimulator {
XCTAssertEqual(singningResult, DeviceBindingStatus.clientNotRegistered.errorMessage)
return
}

XCTAssertEqual(singningResult, "Success")
}
else {
Expand Down Expand Up @@ -294,10 +291,7 @@ class AA_06_DeviceSigningVerifierCallbackTest: CallbackBaseTest {
ex.fulfill()
})
waitForExpectations(timeout: 60, handler: nil)
if isSimulator {
XCTAssertEqual(singningResult, DeviceBindingStatus.clientNotRegistered.errorMessage)
return
}

XCTAssertEqual(singningResult, "Success")
}
else {
Expand Down Expand Up @@ -370,10 +364,7 @@ class AA_06_DeviceSigningVerifierCallbackTest: CallbackBaseTest {
ex.fulfill()
})
waitForExpectations(timeout: 60, handler: nil)
if isSimulator {
XCTAssertEqual(singningResult, DeviceBindingStatus.clientNotRegistered.errorMessage)
return
}

XCTAssertEqual(singningResult, "Authentication Timeout")
}
else {
Expand Down Expand Up @@ -719,10 +710,7 @@ class AA_06_DeviceSigningVerifierCallbackTest: CallbackBaseTest {
ex.fulfill()
})
waitForExpectations(timeout: 60, handler: nil)
if isSimulator {
XCTAssertEqual(bindingResult, "DeviceBinding/Signing is not supported on the iOS Simulator")
return
}

XCTAssertEqual(bindingResult, "Success")
}
else {
Expand Down

0 comments on commit 455b161

Please sign in to comment.