Skip to content

Commit

Permalink
fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesclark32 committed Feb 15, 2025
1 parent 8db1b58 commit ce049a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PendingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function toHaveTitle(string $title): self
/**
* Checks if the page does not have a title.
*/
public function asserTitleIsNot(string $title): self
public function assertTitleIsNot(string $title): self
{
$this->operations[] = new Operations\AssertTitleIsNot($title);

Expand Down
2 changes: 1 addition & 1 deletion tests/Example.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

it('should not have the title "Laravel Dusk"', function () {
visit('https://laravel.com')
->asserTitleIsNot('Laravel Dusk');
->assertTitleIsNot('Laravel Dusk');
});

0 comments on commit ce049a7

Please sign in to comment.