File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -116,21 +116,6 @@ final class SystemEventsHandlerTests: XCTestCase {
116
116
verify ( )
117
117
}
118
118
119
- #if os(iOS) && !targetEnvironment(macCatalyst)
120
- func test_keyboardHeight( ) throws {
121
- let textField = UITextField ( frame: . zero)
122
- let window = try XCTUnwrap ( UIApplication . shared. windows. first, " Cannot extract the host view " )
123
- window. makeKeyAndVisible ( )
124
- window. addSubview ( textField)
125
- setupSut ( )
126
- XCTAssertEqual ( appState. system. keyboardHeight, 0 )
127
- textField. becomeFirstResponder ( )
128
- XCTAssertGreaterThan ( appState. system. keyboardHeight, 0 )
129
- textField. removeFromSuperview ( )
130
- verify ( )
131
- }
132
- #endif
133
-
134
119
func test_handlePushRegistration( ) {
135
120
setupSut ( pushToken: [
136
121
. register( Data ( ) )
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ final class CountriesListTests: XCTestCase {
88
88
89
89
func test_countries_failed_retry( ) {
90
90
let container = DIContainer ( appState: AppState ( ) , interactors: . mocked(
91
- countriesInteractor: [ . loadCountries( search: " " , locale: . current ) ]
91
+ countriesInteractor: [ . loadCountries( search: " " , locale: Locale ( identifier : " " ) ) ]
92
92
) )
93
93
let sut = CountriesList ( countries: . failed( NSError . test) )
94
94
let exp = sut. inspection. inspect { view in
You can’t perform that action at this time.
0 commit comments