Commit 525a4b9b authored by alexpott's avatar alexpott

Issue #3101720 by larowlan: HEAD broken on - updates required for prophecy 1.10.0

parent c8d771e3
......@@ -7,6 +7,7 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\Tests\UnitTestCase;
use Prophecy\Argument;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
......@@ -1440,7 +1441,7 @@ public function testHasInvalidToken($expected) {
* @param callable $prepared_callback
*/
public function testPrepareCallback($unprepared_callback, callable $prepared_callback) {
$this->decoratedFormState->prepareCallback($unprepared_callback)
$this->decoratedFormState->prepareCallback(Argument::is($unprepared_callback))
->willReturn($prepared_callback)
->shouldBeCalled();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment