diff --git a/tests/Unit/Screen/Actions/ModalToggleTest.php b/tests/Unit/Screen/Actions/ModalToggleTest.php index fafbbc835..cd6c72984 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 ); }