File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed
Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ final class MockChannelListFetcher {
5454
5555 let randomBool = Bool . random ( )
5656 let image : Image = randomBool ? . ratio16x9 : . ratio4x3
57- let fetchedImage = await image. fetch ( )
5857
5958 channels. append ( ChannelEntity ( id: UUID ( ) . uuidString, name: name) )
6059 }
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ import Foundation
33public enum HTTPError : String , LocalizedError {
44 // MARK: 400..<500 , Client Error
55
6- case badRequest /// 400
7- case unauthorized /// 401
8- case paymentRequired /// 402
9- case forbidden /// 403
10- case notFound /// 404
11- case methodNotAllowed /// 405
12- case conflict /// 409
6+ case badRequest // 400
7+ case unauthorized // 401
8+ case paymentRequired // 402
9+ case forbidden // 403
10+ case notFound // 404
11+ case methodNotAllowed // 405
12+ case conflict // 409
1313
1414 // MARK: 500..<600 Server Error
1515
16- case internalServerError /// 500
17- case badGateway /// 502
16+ case internalServerError // 500
17+ case badGateway // 502
1818
1919 // MARK: Extra
2020
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ final class NetworkClientTest: XCTestCase {
1616 client = NetworkClient ( session: session, interceptors: interceptors)
1717 }
1818
19- override func tearDown( ) {
20- super. tearDown ( )
21- }
22-
2319 // MARK: - Success
2420
2521 func test_success_response( ) async throws {
You can’t perform that action at this time.
0 commit comments