diff --git a/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php b/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php index f16af9b..a16ec19 100644 --- a/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php +++ b/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php @@ -91,6 +91,7 @@ public function setUp() { $request_stack = new RequestStack(); $request_stack->push($this->request); $this->condition = new FakeRequestPathCondition($request_stack, $alias_manager, $translation_manager, array(), 'request_path', array()); + $this->condition->setMatch(TRUE); $this->condition->setExecutableManager($condition_manager); $pages = "my/pass/page\r\nmy/pass/page2\r\nfoo"; @@ -142,7 +143,7 @@ public function testMissingPaths() { } /** - * A Fake request path condition that stubs out the matchPath method for testing. + * A Fake request path condition for unit testing. */ class FakeRequestPathCondition extends RequestPath {