♻️ :: update project for Xcode 11 and iOS 13

This commit is contained in:
Felix Mau
2019-10-11 17:09:24 +02:00
parent 603f3cae0e
commit f2c43cbe72
3 changed files with 3 additions and 6 deletions
@@ -24,7 +24,7 @@ class GradientActivityIndicatorViewAnimateIsHiddenTestCase: XCTestCase {
// In order for UIView animations to be executed correctly, the corresponding view has to be attached to a visible window.
// Therefore we're gonna use the current key-window, add our testing view here in `setUp()` and remove it later in `tearDown()`.
window = UIApplication.shared.keyWindow
window = UIApplication.shared.windows.first { $0.isKeyWindow }
gradientActivityIndicatorView = GradientActivityIndicatorView()
window.addSubview(gradientActivityIndicatorView)