File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Branch-TestBed/Branch-SDK-Tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ - (void)testLATDServiceURL_Tracking {
170170 serverAPI.useTrackingDomain = YES ;
171171
172172 NSString *url = [serverAPI latdServiceURL ];
173- NSString *expectedUrlStr = @" https://api-safetrack .branch.io/v1/cpid/latd" ;
173+ NSString *expectedUrlStr = @" https://api3 .branch.io/v1/cpid/latd" ;
174174
175175 XCTAssertTrue ([url isEqualToString: expectedUrlStr]);
176176}
@@ -353,7 +353,7 @@ - (void)testLATDServiceURL_EUTracking {
353353 serverAPI.useTrackingDomain = YES ;
354354
355355 NSString *url = [serverAPI latdServiceURL ];
356- NSString *expectedUrlStr = @" https://api-safetrack -eu.branch.io/v1/cpid/latd" ;
356+ NSString *expectedUrlStr = @" https://api3 -eu.branch.io/v1/cpid/latd" ;
357357
358358 XCTAssertTrue ([url isEqualToString: expectedUrlStr]);
359359}
Original file line number Diff line number Diff line change @@ -57,8 +57,9 @@ - (NSString *)qrcodeServiceURL {
5757 return [[self getBaseURLForLinkingEndpoints ] stringByAppendingString: @" /v1/qr-code" ];
5858}
5959
60+ // LATD endpoint is not a data collection endpoint and will be treated like linking endpoints
6061- (NSString *)latdServiceURL {
61- return [[self getBaseURL ] stringByAppendingString: @" /v1/cpid/latd" ];
62+ return [[self getBaseURLForLinkingEndpoints ] stringByAppendingString: @" /v1/cpid/latd" ];
6263}
6364
6465- (NSString *)validationServiceURL {
You can’t perform that action at this time.
0 commit comments