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')); }