We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa0b18 commit 1394872Copy full SHA for 1394872
Tests/Unit-Tests/NewRelicAgentTests/Uncategorized/NRMAOfflineStorageTests.m
@@ -44,6 +44,7 @@ - (unsigned long long)folderSize:(NSString *)folderPath {
44
}
45
46
-(void) testOfflineStorage {
47
+ [self.offlineStorage setMaxOfflineStorageSize:100];
48
NSData *data = [NRMAFakeDataHelper makeDataDictionary:1000];
49
50
XCTAssertTrue([self.offlineStorage persistDataToDisk:data]);
@@ -58,7 +59,7 @@ -(void) testOfflineStorage {
58
59
XCTAssertEqualObjects(data, savedData[0]);
60
61
--(void) testMaxOfflineStorageSize {
62
+-(void) testOfflineStorageMaxSize {
63
[self.offlineStorage setMaxOfflineStorageSize:1];
64
NSData *data = [NRMAFakeDataHelper makeDataDictionary:5000];
65
0 commit comments