From a41f757091120dae893cec7327621edfbbfb2591 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 12 Nov 2024 12:31:00 +0000 Subject: [PATCH] Update tests. --- tests/Transformers/BardTransformerTest.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/Transformers/BardTransformerTest.php b/tests/Transformers/BardTransformerTest.php index a1b7533..ebc061a 100644 --- a/tests/Transformers/BardTransformerTest.php +++ b/tests/Transformers/BardTransformerTest.php @@ -160,7 +160,12 @@ public function it_doesnt_handles_images_without_base_url() #[Test] public function is_enables_buttons_on_bard_field() { - $transformer = new BardTransformer($this->blueprint, $this->field, []); + $transformer = new BardTransformer( + import: $this->import, + blueprint: $this->blueprint, + field: $this->field, + config: [] + ); $transformer->transform('

Hello world!

'); @@ -205,7 +210,12 @@ public function is_enables_buttons_on_bard_field_in_fieldset() ], ])->save(); - $transformer = new BardTransformer($blueprint, $blueprint->field('resources_bard_basic'), []); + $transformer = new BardTransformer( + import: $this->import, + blueprint: $blueprint, + field: $blueprint->field('resources_bard_basic'), + config: [] + ); $transformer->transform('

Hello world!

');