Skip to content

Commit c791449

Browse files
authored
Update browser_tests.md (#159)
1 parent 6fa857c commit c791449

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

content/docs/testing/browser_tests.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,7 @@ export const plugins: Config['plugins'] = [
252252
]
253253
```
254254

255-
If you are using session-based authentication, then make sure to switch the session driver to an in-memory store.
256-
257-
```dotenv
258-
// title: .env.test
259-
SESSION_DRIVER=memory
260-
```
255+
If you are using session-based authentication, make sure to also set up the session plugin. See [Populating session store - Setup](#setup-1).
261256

262257
That's all. Now, you may login users using the `loginAs` method. The method accepts the user object as the only argument and marks the user as logged in the current browser context.
263258

0 commit comments

Comments
 (0)