From 4b60aab8d2470453a77b7eaba70c7b99236c7030 Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Mon, 4 Nov 2024 02:43:54 +0300 Subject: [PATCH] Fixed tests --- tests/Unit/Screen/Actions/ModalToggleTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Unit/Screen/Actions/ModalToggleTest.php b/tests/Unit/Screen/Actions/ModalToggleTest.php index fafbbc8359..cd6c72984e 100644 --- a/tests/Unit/Screen/Actions/ModalToggleTest.php +++ b/tests/Unit/Screen/Actions/ModalToggleTest.php @@ -39,12 +39,12 @@ public function testModalToggleModalKey(): void $view = self::renderField($modalToggle); $this->assertStringContainsString( - 'data-modal-toggle-key="KeyForModal"', + 'data-modal-toggle-key-value="KeyForModal"', $view ); $this->assertStringContainsString( - 'data-modal-toggle-action="http://127.0.0.1:8001/method', + 'data-modal-toggle-action-value="http://127.0.0.1:8001/method', $view ); } @@ -61,7 +61,7 @@ public function testModalToggleModalParams(): void $view = self::renderField($modalToggle); $this->assertStringContainsString( - 'data-modal-toggle-action="http://127.0.0.1:8001/method?name=Alexandr', + 'data-modal-toggle-action-value="http://127.0.0.1:8001/method?name=Alexandr', $view ); }