Skip to content

Commit

Permalink
Fixed data types.
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed Oct 4, 2024
1 parent 829947d commit fc43bc1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Branch-TestBed/Branch-SDK-Tests/BNCServerRequestQueueTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ - (void)testUUIDANDTimeStampPersistenceForShortURL {

for (id requestObject in decodedQueue) {
if ([requestObject isKindOfClass:BranchShortUrlRequest.class]) {
XCTAssertTrue([shortURLObject.requestUUID isEqualToString:((BranchEventRequest *)requestObject).requestUUID]);
XCTAssertTrue([shortURLObject.requestCreationTimeStamp isEqualToNumber:((BranchEventRequest *)requestObject).requestCreationTimeStamp]);
XCTAssertTrue([shortURLObject.requestUUID isEqualToString:((BranchShortUrlRequest *)requestObject).requestUUID]);
XCTAssertTrue([shortURLObject.requestCreationTimeStamp isEqualToNumber:((BranchShortUrlRequest *)requestObject).requestCreationTimeStamp]);
} else {
XCTFail("Invalid Object type found");
}
Expand All @@ -342,8 +342,8 @@ - (void)testUUIDANDTimeStampPersistenceForShortURLWithParams {

for (id requestObject in decodedQueue) {
if ([requestObject isKindOfClass:BranchShortUrlRequest.class]) {
XCTAssertTrue([shortURLObject.requestUUID isEqualToString:((BranchEventRequest *)requestObject).requestUUID]);
XCTAssertTrue([shortURLObject.requestCreationTimeStamp isEqualToNumber:((BranchEventRequest *)requestObject).requestCreationTimeStamp]);
XCTAssertTrue([shortURLObject.requestUUID isEqualToString:((BranchShortUrlRequest *)requestObject).requestUUID]);
XCTAssertTrue([shortURLObject.requestCreationTimeStamp isEqualToNumber:((BranchShortUrlRequest *)requestObject).requestCreationTimeStamp]);
} else {
XCTFail("Invalid Object type found");
}
Expand All @@ -360,8 +360,8 @@ - (void)testUUIDANDTimeStampPersistenceForLATD {

for (id requestObject in decodedQueue) {
if ([requestObject isKindOfClass:BranchLATDRequest.class]) {
XCTAssertTrue([latdObject.requestUUID isEqualToString:((BranchEventRequest *)requestObject).requestUUID]);
XCTAssertTrue([latdObject.requestCreationTimeStamp isEqualToNumber:((BranchEventRequest *)requestObject).requestCreationTimeStamp]);
XCTAssertTrue([latdObject.requestUUID isEqualToString:((BranchLATDRequest *)requestObject).requestUUID]);
XCTAssertTrue([latdObject.requestCreationTimeStamp isEqualToNumber:((BranchLATDRequest *)requestObject).requestCreationTimeStamp]);
} else {
XCTFail("Invalid Object type found");
}
Expand Down

0 comments on commit fc43bc1

Please sign in to comment.