diff --git a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
index 2f62f1e..6dc465d 100644
--- a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
+++ b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
@@ -54,8 +54,8 @@ public function providerTestHttpMethod() {
       [RequestPolicyInterface::DENY, 'POST'],
       [RequestPolicyInterface::DENY, 'PUT'],
       [RequestPolicyInterface::DENY, 'DELETE'],
-      [RequestPolicyInterface::DENY, 'OPTIONS'],
-      [RequestPolicyInterface::DENY, 'TRACE'],
+      [NULL, 'OPTIONS'],
+      [NULL, 'TRACE'],
       [RequestPolicyInterface::DENY, 'CONNECT'],
     ];
   }
