From 20342aa700e577d15275b513ec7798b28e2c2c55 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Thu, 19 Mar 2026 12:23:04 +0000 Subject: [PATCH] Update RichEditorTest.php --- tests/src/Forms/Components/RichEditorTest.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/src/Forms/Components/RichEditorTest.php b/tests/src/Forms/Components/RichEditorTest.php index 8508b1a86f..cd34f0ad8f 100644 --- a/tests/src/Forms/Components/RichEditorTest.php +++ b/tests/src/Forms/Components/RichEditorTest.php @@ -48,12 +48,13 @@ test('can get default toolbar buttons using `getDefaultToolbarButtons()`', funct expect($defaultButtons) ->toBeArray() - ->toHaveCount(5) + ->toHaveCount(6) ->and($defaultButtons[0])->toEqual(['bold', 'italic', 'underline', 'strike', 'subscript', 'superscript', 'link']) - ->and($defaultButtons[1])->toEqual(['h2', 'h3', 'alignStart', 'alignCenter', 'alignEnd']) - ->and($defaultButtons[2])->toEqual(['blockquote', 'codeBlock', 'bulletList', 'orderedList']) - ->and($defaultButtons[3])->toEqual(['table', 'attachFiles']) - ->and($defaultButtons[4])->toEqual(['undo', 'redo']); + ->and($defaultButtons[1])->toEqual(['h2', 'h3']) + ->and($defaultButtons[2])->toEqual(['alignStart', 'alignCenter', 'alignEnd']) + ->and($defaultButtons[3])->toEqual(['blockquote', 'codeBlock', 'bulletList', 'orderedList']) + ->and($defaultButtons[4])->toEqual(['table', 'attachFiles']) + ->and($defaultButtons[5])->toEqual(['undo', 'redo']); }); test('can overwrite toolbar buttons array using `toolbarButtons()`', function (): void {