diff --git a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php index fc14966..c23564f 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @@ -106,11 +106,11 @@ public function providerTestCheckRequirements() { * * @dataProvider providerTestGetMatchingContexts */ - public function testGetMatchingContexts($contexts, $definition, $expected = NULL) { + public function testGetMatchingContexts($contexts, $requirement, $expected = NULL) { if (is_null($expected)) { $expected = $contexts; } - $this->assertEquals($expected, $this->contextHandler->getMatchingContexts($contexts, $definition)); + $this->assertEquals($expected, $this->contextHandler->getMatchingContexts($contexts, $requirement)); } /**