diff --git a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php index 5381bfb..5beada2 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php @@ -39,7 +39,7 @@ public function testCancelLinkTitle() { ->method('getCancelText') ->will($this->returnValue($cancel_text)); - $link = ConfirmFormHelper::buildCancelLink($form, new Request()); + $link = ConfirmFormHelper::buildCancelLink($form, new Request(array('destination' => 'foo'))); $this->assertSame($cancel_text, $link['#title']); }