Skip to content

Commit c48365b

Browse files
committed
Fixed old test
1 parent f70fe31 commit c48365b

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Branch-TestBed/Branch-SDK-Tests/BNCTestCase.m

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ @implementation BNCTestCase
4747
- (void)setUp {
4848
[super setUp];
4949
[self resetExpectations];
50-
51-
// user agent needs to be loaded since many tests assume it's synchronously lazy loaded
52-
__block XCTestExpectation *expectation = [self expectationWithDescription:@"setup"];
53-
[[BNCUserAgentCollector instance] loadUserAgentWithCompletion:^(NSString * _Nullable userAgent) {
54-
[expectation fulfill];
55-
}];
56-
[self waitForExpectationsWithTimeout:5.0 handler:^(NSError * _Nullable error) { }];
5750
}
5851

5952
- (void)resetExpectations {

Branch-TestBed/Branch-TestBed/ViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ - (void)viewDidLoad {
146146
[self.setParnerParamsButton setImage:[UIImage systemImageNamed:@"folder.badge.plus"] forState:UIControlStateNormal];
147147
}
148148
}
149-
150149
}
150+
151151
- (IBAction)goToPasteControlPressed:(id)sender {
152152
[self performSegueWithIdentifier:@"GoToPasteControlView"
153153
sender:self];

0 commit comments

Comments
 (0)