File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Branch-TestBed/Branch-SDK-Tests Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -283,24 +283,4 @@ - (void) testInitWithTitle {
283283 XCTAssertEqual (buo.title , @" buoTitle" );
284284}
285285
286- - (void )testGetShortURLWithLP {
287- BranchUniversalObject *buo = [[BranchUniversalObject new ] initWithTitle: @" newBUO" ];
288- BranchLinkProperties *lp = [BranchLinkProperties new ];
289- NSString *randomAlias = [[NSUUID UUID ] UUIDString ];
290- lp.alias = randomAlias;
291-
292- XCTestExpectation *expectation = [self expectationWithDescription: @" Fetching short URL With LP" ];
293- [buo getShortUrlWithLinkProperties: lp andCallback: ^(NSString * _Nullable url, NSError * _Nullable error) {
294- NSString *expectedURL = [NSString stringWithFormat: @" https://bnctestbed.app.link/%@ " , randomAlias];
295- XCTAssertEqualObjects (url, expectedURL, @" URL should match the expected format" );
296- [expectation fulfill ];
297- }];
298-
299- [self waitForExpectationsWithTimeout: 5.0 handler: ^(NSError *error) {
300- if (error) {
301- NSLog (@" Timeout Error: %@ " , error);
302- }
303- }];
304- }
305-
306286@end
You can’t perform that action at this time.
0 commit comments