From 691949b3c4ffad492f8fa5421ef31e5103fe300b Mon Sep 17 00:00:00 2001 From: "Kyle B. Johnson" Date: Fri, 18 Aug 2023 12:14:20 -0400 Subject: [PATCH] fix: Update return type --- .../Actions/TestConvertDonationFormBlocksToFieldsApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');