Skip to content

Commit 29bf003

Browse files
committed
edits test
1 parent 24e3cb8 commit 29bf003

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Tests/FormbricksSDKTests/FormbricksSDKTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ final class FormbricksSDKTests: XCTestCase {
8181
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
8282
userSetExpectation.fulfill()
8383
}
84-
wait(for: [userSetExpectation], timeout: 1.0)
84+
wait(for: [userSetExpectation])
8585

8686
XCTAssertEqual(Formbricks.userManager?.userId, userId)
8787
// User refresh timer should be set.

Tests/FormbricksSDKTests/MockFormbricksService/MockFormbricksService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ class MockFormbricksService: FormbricksService {
1313

1414
override func getEnvironmentState(completion: @escaping (ResultType<GetEnvironmentRequest.Response>) -> Void) {
1515
if isErrorResponseNeeded {
16-
print("modecked getenvironmentstate: running completion with error")
1716
completion(.failure(RuntimeError(message: "")))
1817
} else {
19-
print("mocked getenvironmentstate: running execute")
2018
execute(.environment, completion: completion)
2119
}
2220
}

0 commit comments

Comments
 (0)