Skip to content

Commit

Permalink
Update BNCPreferenceHelperTests.m
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Oct 23, 2023
1 parent 4149eb3 commit da6e7af
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Branch-TestBed/Branch-SDK-Tests/BNCPreferenceHelperTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ - (void)testPreferenceDefaults {
XCTAssertFalse(self.prefHelper.disableAdNetworkCallouts);
}

- (void)testPreferenceSets {
self.prefHelper.retryCount = NSIntegerMax;
self.prefHelper.retryInterval = NSIntegerMax;
self.prefHelper.timeout = NSIntegerMax;

XCTAssertEqual(self.prefHelper.retryCount, NSIntegerMax);
XCTAssertEqual(self.prefHelper.retryInterval, NSIntegerMax);
XCTAssertEqual(self.prefHelper.timeout, NSIntegerMax);
}
//- (void)testPreferenceSets {
// self.prefHelper.retryCount = NSIntegerMax;
// self.prefHelper.retryInterval = NSIntegerMax;
// self.prefHelper.timeout = NSIntegerMax;
//
// XCTAssertEqual(self.prefHelper.retryCount, NSIntegerMax);
// XCTAssertEqual(self.prefHelper.retryInterval, NSIntegerMax);
// XCTAssertEqual(self.prefHelper.timeout, NSIntegerMax);
//}

/*
// This test is not reliable when run concurrently with other tests that set the patterListURL
Expand Down

0 comments on commit da6e7af

Please sign in to comment.