Skip to content

Commit 8c3bc1e

Browse files
committed
Merge branch '4.x' of github.com:pestphp/docs into 4.x
2 parents 3673dc9 + 2bb663d commit 8c3bc1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

browser-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ it('may sign in the user', function () {
2525

2626
User::factory()->create([ // assumes RefreshDatabase trait is used on Pest.php...
2727
'email' => 'nuno@laravel.com',
28-
'password' => bcrypt('password'),
28+
'password' => 'password',
2929
]);
3030

3131
$page = visit('/')->on()->mobile()->firefox();
@@ -136,7 +136,7 @@ You can visit multiple pages simultaneously by passing an array of URLs to the `
136136
```php
137137
$pages = visit(['/', '/about']);
138138

139-
$page->assertNoSmoke()
139+
$pages->assertNoSmoke()
140140
->assertNoConsoleLogs()
141141
->assertNoJavaScriptErrors();
142142

0 commit comments

Comments
 (0)