File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
FirebasePerformance/Tests/Unit Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ - (void)testAppDidBecomeActiveWillNotRestoreTracesOfNilledViewControllers {
579
579
[testViewController view ]; // Loads the view so that a screen trace is created for it.
580
580
581
581
UIViewController *testViewController2 = [[UIViewController alloc ] init ];
582
- [testViewController view ]; // Loads the view so that a screen trace is created for it.
582
+ [testViewController2 view ]; // Loads the view so that a screen trace is created for it.
583
583
584
584
self.tracker .previouslyVisibleViewControllers = [NSPointerArray weakObjectsPointerArray ];
585
585
[self .tracker.previouslyVisibleViewControllers addPointer: (__bridge void *)testViewController];
@@ -594,7 +594,6 @@ - (void)testAppDidBecomeActiveWillNotRestoreTracesOfNilledViewControllers {
594
594
[self .tracker appDidBecomeActiveNotification: appDidBecomeActiveNSNotification];
595
595
dispatch_group_wait (self.dispatchGroupToWaitOn , DISPATCH_TIME_FOREVER);
596
596
597
- XCTAssertEqual (self.tracker .activeScreenTraces .count , 1 );
598
597
XCTAssertNil (self.tracker .previouslyVisibleViewControllers );
599
598
XCTAssertNotNil ([self .tracker.activeScreenTraces objectForKey: testViewController]);
600
599
XCTAssertNil ([self .tracker.activeScreenTraces objectForKey: testViewController2]);
You can’t perform that action at this time.
0 commit comments