File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
OptimizelySDKDatafileManager/OptimizelySDKDatafileManagerTests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 26
26
static NSTimeInterval kDatafileDownloadInteval = 5 ; // in seconds
27
27
static NSString *const kLastModifiedDate = @" Mon, 28 Nov 2016 06:10:59 GMT" ;
28
28
static NSData *kDatafileData ;
29
- static NSDictionary *const kCDNResponseHeaders =@{@" Content-Type" :@" application/json" ,
30
- @" Last-Modified" :kLastModifiedDate };
29
+ static NSDictionary *kCDNResponseHeaders = nil ;
31
30
32
31
@interface OPTLYDatafileManager (test)
33
32
@property (nonatomic , strong ) NSTimer *datafileDownloadTimer;
@@ -46,6 +45,8 @@ @implementation OPTLYDatafileManagerTest
46
45
+ (void )setUp {
47
46
[super setUp ];
48
47
48
+ kCDNResponseHeaders = @{@" Content-Type" :@" application/json" ,
49
+ @" Last-Modified" :kLastModifiedDate };
49
50
kDatafileData = [OPTLYTestHelper loadJSONDatafileIntoDataObject: kDatamodelDatafileName ];
50
51
51
52
// stub all requests
You can’t perform that action at this time.
0 commit comments