Skip to content

Commit 73bbcb3

Browse files
remove unused code
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 0fe8aeb commit 73bbcb3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Tests/GOFeatureFlagTests/provider_tests.swift

-14
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,6 @@ class GoFeatureFlagProviderTests: XCTestCase {
4040

4141
XCTAssertEqual(1, mockNetworkService.dataCollectorCallCounter)
4242
XCTAssertEqual(6, mockNetworkService.dataCollectorEventCounter)
43-
44-
do {
45-
let httpBodyCollector = mockNetworkService.requests[mockNetworkService.requests.count - 1].httpBody!
46-
// print httpBodyCollector
47-
print(String(data: httpBodyCollector, encoding: .utf8)!)
48-
let json = try JSONSerialization.jsonObject(with: httpBodyCollector, options: []) as? [String: Any]
49-
guard let jsonDict = json else {
50-
XCTFail("Could not deserialize JSON")
51-
return
52-
}
53-
} catch {
54-
XCTFail("Error deserializing JSON: \(error)")
55-
}
56-
5743
}
5844

5945
func testExporterMetadata() async {

0 commit comments

Comments
 (0)