Skip to content

Commit 35f7626

Browse files
RUM-12441 Use ExpectedGraphQLHeaders in tests
1 parent 881b167 commit 35f7626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DatadogRUM/Tests/Instrumentation/Resources/URLSessionRUMResourcesHandlerTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ class URLSessionRUMResourcesHandlerTests: XCTestCase {
10201020

10211021
// Given
10221022
var mockRequest: URLRequest = .mockWith(url: "https://graphql.example.com/api")
1023-
mockRequest.setValue("GetUser", forHTTPHeaderField: GraphQLHeaders.operationName)
1023+
mockRequest.setValue("GetUser", forHTTPHeaderField: ExpectedGraphQLHeaders.operationName)
10241024

10251025
let responseWithErrors = """
10261026
{
@@ -1059,7 +1059,7 @@ class URLSessionRUMResourcesHandlerTests: XCTestCase {
10591059

10601060
// Given
10611061
var mockRequest: URLRequest = .mockWith(url: "https://graphql.example.com/api")
1062-
mockRequest.setValue("GetUser", forHTTPHeaderField: GraphQLHeaders.operationName)
1062+
mockRequest.setValue("GetUser", forHTTPHeaderField: ExpectedGraphQLHeaders.operationName)
10631063

10641064
let responseWithErrors = """
10651065
{

0 commit comments

Comments
 (0)