[ios, macos] Fixed incorrect assignment in style layer tests
Fixes #5992.
This commit is contained in:
committed by
Fredrik Karlsson
parent
2217e05f5e
commit
6856722b1e
@@ -5,7 +5,7 @@
|
||||
- (void)setUp {
|
||||
[super setUp];
|
||||
#if TARGET_OS_IPHONE
|
||||
UIApplication *app = [[UIApplication sharedApplication] delegate];
|
||||
UIApplication *app = [UIApplication sharedApplication];
|
||||
UIViewController *vc = [[UIViewController alloc] init];
|
||||
app.keyWindow.rootViewController = vc;
|
||||
[vc view]; // Force load xib
|
||||
|
||||
Reference in New Issue
Block a user