Skip to content

Commit a91f804

Browse files
committed
Fixed Macro and typecasting error
1 parent 47212de commit a91f804

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-TestBed/Branch-SDK-Tests/BNCServerInterface.Test.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ - (void) testServerInterfaceDictionaryPrepForGbraid {
447447

448448
// Check for gbraid timestamp
449449
XCTAssertNotNil([result objectForKey:BRANCH_REQUEST_KEY_REFERRER_GBRAID_TIMESTAMP]);
450-
NSString *tsInMs = [NSString stringWithFormat:@"%lld", (long long)[now timeIntervalSince1970]*1000];
451-
XCTAssertTrue([[result objectForKey:BRANCH_REQUEST_KEY_REFERRER_GBRAID] isEqualToString:tsInMs]);
450+
NSString *tsInMs = [NSString stringWithFormat:@"%lld", (long long)([now timeIntervalSince1970]*1000)];
451+
XCTAssertTrue([[result objectForKey:BRANCH_REQUEST_KEY_REFERRER_GBRAID_TIMESTAMP] isEqualToString:tsInMs]);
452452

453453
//Check - gbraid should be present - endpoint is open
454454
serverInterface.requestEndpoint = @"/v1/open";

0 commit comments

Comments
 (0)