Skip to content

Commit

Permalink
Fixed UnitTestcase
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 6253c73d02a3d3249b46e753d007c0ec7858e6b0
Author: mobileSDK <[email protected]>
Date:   Wed Mar 24 23:42:32 2021 -0400

    fix test cases
  • Loading branch information
asharmaa committed Mar 25, 2021
1 parent a77ee7e commit 4413a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/UnitTestApp/FunctionalTests/ANRealTimerTestCase.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ - (void)tearDown {

- (void)testSetTimerFor1Sec{
ANSDKSettings.sharedInstance.countImpressionOn1PxRendering = YES;
ANRealTimer.sharedInstance.timerDelegate = self;
[ANRealTimer addDelegate:self];

self.loadAdSuccesfulException = [self expectationWithDescription:@"Timer Exception"];

Expand All @@ -45,7 +45,7 @@ - (void)testSetTimerFor1Sec{

- (void)handle1SecTimerSentNotification {
self.oneSecTimerNotification = YES;
ANRealTimer.sharedInstance.timerDelegate = nil;
[ANRealTimer removeDelegate:self];
[self.loadAdSuccesfulException fulfill];
}

Expand Down

0 comments on commit 4413a40

Please sign in to comment.