diff --git a/tests-legacy/Integration/PrestaShopBundle/Controller/Admin/Sell/Order/DeliveryControllerTest.php b/tests-legacy/Integration/PrestaShopBundle/Controller/Admin/Sell/Order/DeliveryControllerTest.php index 75d1edcc88f8c..99bce1f396e03 100644 --- a/tests-legacy/Integration/PrestaShopBundle/Controller/Admin/Sell/Order/DeliveryControllerTest.php +++ b/tests-legacy/Integration/PrestaShopBundle/Controller/Admin/Sell/Order/DeliveryControllerTest.php @@ -65,7 +65,7 @@ public function testSlipActionWithInvalidData() 'options' => [ 'number' => 'foo', ], - '_token' => $token, + '_token' => $token->getValue(), ], ] ); @@ -90,7 +90,7 @@ public function testSlipActionWithValidData() 'options' => [ 'number' => '100', ], - '_token' => $token, + '_token' => $token->getValue(), ], ] ); @@ -119,7 +119,7 @@ public function testPdfActionWithInvalidData() 'pdf' => [ 'date_from' => 'foo', ], - '_token' => $token, + '_token' => $token->getValue(), ], ] ); @@ -146,7 +146,7 @@ public function testPdfActionWithEmptyData() [ 'slip_pdf_form' => [ 'pdf' => [], - '_token' => $token, + '_token' => $token->getValue(), ], ] );