We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33650d1 commit dc930eaCopy full SHA for dc930ea
Chapter 16/myProject/Tests/AppApiTests/AppApiTests.swift
@@ -54,13 +54,14 @@ final class AppApiTests: XCTestCase {
54
guard let response = response as? HTTPURLResponse else {
55
throw HTTPError.invalidResponse
56
}
57
- print(response.statusCode)
58
guard 200...299 ~= response.statusCode else {
59
throw HTTPError.invalidStatusCode(response.statusCode)
60
61
62
let categories = try JSONDecoder().decode([Blog.Category.List].self, from: data)
63
XCTAssertFalse(categories.isEmpty)
64
+
65
66
67
0 commit comments