Skip to content

Commit

Permalink
Fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Cabal-Ugaz committed Jun 27, 2016
1 parent 9a4ef10 commit 4a9c0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (void)requestBannerAdWithSize:(CGSize)size
serverParameter:(NSString *)parameterString
adUnitId:(NSString *)idString
targetingParameters:(ANTargetingParameters *)targetingParameters {
NSTimer *timer = [NSTimer timerWithTimeInterval:kAppNexusMediationNetworkTimeoutInterval + 1.0
NSTimer *timer = [NSTimer timerWithTimeInterval:kAppNexusMediationNetworkTimeoutInterval + 5.0
target:self
selector:@selector(adDidLoad)
userInfo:nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ - (void)testMediatedAdTimeoutThenSuccessful {
adViewDelegate:self.adView];
XCTAssertNotNil(controller);
[self validateAdFetcherCallbackWithResponseCode:ANAdResponseInternalError
timeout:kAppNexusRequestTimeoutInterval + 5.0];
timeout:kAppNexusRequestTimeoutInterval];
}

- (void)testMediatedAdUnableToFillThenSuccessful {
Expand Down

0 comments on commit 4a9c0da

Please sign in to comment.