File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
FirebaseRemoteConfig/Tests/Unit Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1419,11 +1419,12 @@ - (void)testSetFetchTimeoutConfigSetting {
1419
1419
}
1420
1420
}
1421
1421
1422
- - (void )testFetchRequestWithUserProperties {
1422
+ - (void )testFetchRequestWithUserPropertiesOnly {
1423
1423
NSDictionary *userProperties = @{@" user_key" : @" user_value" };
1424
1424
NSString *req = [_settings nextRequestWithUserProperties: userProperties];
1425
1425
1426
1426
XCTAssertTrue ([req containsString: @" analytics_user_properties:{\" user_key\" :\" user_value\" }" ]);
1427
+ XCTAssertFalse ([req containsString: @" first_open_time" ]);
1427
1428
}
1428
1429
1429
1430
- (void )testFetchRequestWithFirstOpenTimeAndUserProperties {
@@ -1435,10 +1436,10 @@ - (void)testFetchRequestWithFirstOpenTimeAndUserProperties {
1435
1436
}
1436
1437
1437
1438
- (void )testFetchRequestFirstOpenTimeOnly {
1438
- NSDictionary *userProperties = @{@" _fot" : @1650312375543 };
1439
+ NSDictionary *userProperties = @{@" _fot" : @1650315600000 };
1439
1440
NSString *req = [_settings nextRequestWithUserProperties: userProperties];
1440
1441
1441
- XCTAssertTrue ([req containsString: @" first_open_time:'2022-04-18T20:06:15Z '" ]);
1442
+ XCTAssertTrue ([req containsString: @" first_open_time:'2022-04-18T21:00:00Z '" ]);
1442
1443
XCTAssertFalse ([req containsString: @" analytics_user_properties" ]);
1443
1444
}
1444
1445
You can’t perform that action at this time.
0 commit comments