From 4e453a73a696aeec86960a6850d164347721812b Mon Sep 17 00:00:00 2001 From: philipp lang Date: Mon, 8 Jul 2024 21:42:31 +0200 Subject: [PATCH] Fix tests --- tests/Unit/EditorDataTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/EditorDataTest.php b/tests/Unit/EditorDataTest.php index 0803ac62..45670294 100644 --- a/tests/Unit/EditorDataTest.php +++ b/tests/Unit/EditorDataTest.php @@ -12,7 +12,7 @@ class EditorDataTest extends TestCase { $data = EditorRequestFactory::new()->paragraphs(['{search}'])->toData(); - $data->replaceWithList('search', ['A', 'B']); + $data = $data->replaceWithList('search', ['A', 'B']); $this->assertEquals('A', data_get($data->blocks, '0.data.items.0.content')); }