Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Nov 3, 2024
1 parent c3dc745 commit 4b60aab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/Screen/Actions/ModalToggleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand All @@ -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
);
}
Expand Down

0 comments on commit 4b60aab

Please sign in to comment.