Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ - (void)testMetricsAction {
[metricsExpectation fulfill];
};

[self waitForExpectations:@[getExpectation, metricsExpectation] timeout:20];
[self waitForExpectations:@[getExpectation, metricsExpectation] timeout:30];
}

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2907,10 +2907,10 @@ - (void)testPublicApiCalls {
response = resp;
[getExpectation fulfill];
}];
[self waitForExpectations:@[getExpectation] timeout:20];
XCTAssertTrue(error == nil,@"RestApi call to a public api should not fail");
XCTAssertFalse(response == nil,@"RestApi call to a public api should not have a nil response");
XCTAssertTrue(response.count > 0 ,@"The response should have github/forcedotcom repos");
[self waitForExpectations:@[getExpectation] timeout:30];
XCTAssertTrue(error == nil, @"RestApi call to a public api should not fail. Error: %@", [error localizedDescription]);
XCTAssertFalse(response == nil, @"RestApi call to a public api should not have a nil response");
XCTAssertTrue(response.count > 0, @"The response should have github/forcedotcom repos");
}

- (void)testCustomSalesforceEndpoint {
Expand Down
Loading