File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class GoFeatureFlagProviderTests: XCTestCase {
17
17
options: GoFeatureFlagProviderOptions (
18
18
endpoint: " https://localhost:1031 " ,
19
19
dataFlushInterval: 1 ,
20
- exporterMetadata: [ " version " : ExporterMetadataValue . string ( " 1.0.0 " ) ] ,
21
20
networkService: mockNetworkService
22
21
)
23
22
)
@@ -40,20 +39,6 @@ class GoFeatureFlagProviderTests: XCTestCase {
40
39
41
40
XCTAssertEqual ( 1 , mockNetworkService. dataCollectorCallCounter)
42
41
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
-
57
42
}
58
43
59
44
func testExporterMetadata( ) async {
You can’t perform that action at this time.
0 commit comments