diff --git a/tests/src/Functional/RequestTest.php b/tests/src/Functional/RequestTest.php index 7ff952b..49f009e 100644 --- a/tests/src/Functional/RequestTest.php +++ b/tests/src/Functional/RequestTest.php @@ -298,7 +298,7 @@ class RequestTest extends BrowserTestBase { $auth_providers = $this->container->get('authentication_collector')->getSortedProviders(); $supported_security_types = ['basic', 'apiKey', 'cookie', 'oauth', 'oauth2']; foreach ($security_definitions as $definition_id => $definition) { - if ($definition_id !== 'csrf_token') { + if ($definition_id !== 'csrf') { // CSRF Token will never have an auth collector, all others shoud. $this->assertTrue(array_key_exists($definition_id, $auth_providers), 'Security definition ' . $definition_id . ' not an auth collector.'); }