diff --git a/tests/Unit/DonationForms/Actions/TestConvertDonationFormBlocksToFieldsApi.php b/tests/Unit/DonationForms/Actions/TestConvertDonationFormBlocksToFieldsApi.php index 1539ca5562..03f5db422f 100644 --- a/tests/Unit/DonationForms/Actions/TestConvertDonationFormBlocksToFieldsApi.php +++ b/tests/Unit/DonationForms/Actions/TestConvertDonationFormBlocksToFieldsApi.php @@ -51,7 +51,7 @@ public function testShouldReturnFormSchema() $blocks = BlockCollection::make([$block]); - $formSchema = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId); + list($formSchema, $blockNodeRelationships) = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId); $form = new DonationFormNode('donation-form'); $form->defaultCurrency('USD'); @@ -116,7 +116,7 @@ static function ($node, BlockModel $block, int $blockIndex) { 3 ); - $formSchema = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId); + list($formSchema, $blockNodeRelationships) = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId); $form = new DonationFormNode('donation-form'); $form->defaultCurrency('USD');