Skip to content

Commit 7b8a68c

Browse files
fix PR comments
1 parent 86b4591 commit 7b8a68c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

example/ios/InstabugTests/InstabugApiTests.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ - (void)testNetworkLogWithW3Caught {
462462
NSString *responseContentType = @"application/json";
463463
NSNumber *duration = @23000;
464464
NSNumber *startTime = @1670156107523;
465-
NSDictionary *requestHeaders = @{ @"Accepts": @"application/json",@"traceparent":@"1234"};
465+
NSString *w3CCaughtHeader = @"1234";
466+
NSDictionary *requestHeaders = @{ @"Accepts": @"application/json",@"traceparent":w3CCaughtHeader};
466467
NSDictionary *responseHeaders = @{ @"Content-Type": @"text/plain" };
467468
NSDictionary *data = @{
468469
@"url": url,
@@ -478,7 +479,7 @@ - (void)testNetworkLogWithW3Caught {
478479
@"duration": duration,
479480
@"startTime": startTime,
480481
@"isW3cHeaderFound":@1,
481-
@"w3CCaughtHeader":@"1234"
482+
@"w3CCaughtHeader":w3CCaughtHeader
482483
};
483484

484485
FlutterError* error;

0 commit comments

Comments
 (0)