Skip to content

Commit 1394872

Browse files
committed
trying to fix a test
1 parent 4fa0b18 commit 1394872

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Unit-Tests/NewRelicAgentTests/Uncategorized/NRMAOfflineStorageTests.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ - (unsigned long long)folderSize:(NSString *)folderPath {
4444
}
4545

4646
-(void) testOfflineStorage {
47+
[self.offlineStorage setMaxOfflineStorageSize:100];
4748
NSData *data = [NRMAFakeDataHelper makeDataDictionary:1000];
4849

4950
XCTAssertTrue([self.offlineStorage persistDataToDisk:data]);
@@ -58,7 +59,7 @@ -(void) testOfflineStorage {
5859
XCTAssertEqualObjects(data, savedData[0]);
5960
}
6061

61-
-(void) testMaxOfflineStorageSize {
62+
-(void) testOfflineStorageMaxSize {
6263
[self.offlineStorage setMaxOfflineStorageSize:1];
6364
NSData *data = [NRMAFakeDataHelper makeDataDictionary:5000];
6465

0 commit comments

Comments
 (0)