Skip to content

Commit 098900f

Browse files
authored
Update http_tests.md (#160)
1 parent c791449 commit 098900f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

content/docs/testing/http_tests.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,7 @@ export const plugins: Config['plugins'] = [
336336
]
337337
```
338338

339-
If you are using session-based authentication, then make sure to switch the session driver to an in-memory store.
340-
341-
```dotenv
342-
// title: .env.test
343-
SESSION_DRIVER=memory
344-
```
339+
If you are using session-based authentication, make sure to also set up the session plugin. See [Populating session store - Setup](#setup-1).
345340

346341
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 for the current HTTP request.
347342

0 commit comments

Comments
 (0)