Skip to content

Commit a1415c6

Browse files
fix import symbol
1 parent ce1bf99 commit a1415c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/ios/InstabugTests/PrivateViewApiTests.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ - (void)testGetFlutterViewOrigin_ValidView {
113113
UIView *mockView = [[UIView alloc] initWithFrame:CGRectMake(10, 20, 100, 100)];
114114

115115
OCMStub([self.mockFlutterViewController view]).andReturn(mockView);
116+
117+
UIWindow* testWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
118+
[testWindow addSubview:mockView];
116119

117120
CGPoint origin = [self.api getFlutterViewOrigin];
118121

0 commit comments

Comments
 (0)