Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions content/docs/testing/http_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,7 @@ export const plugins: Config['plugins'] = [
]
```

If you are using session-based authentication, then make sure to switch the session driver to an in-memory store.

```dotenv
// title: .env.test
SESSION_DRIVER=memory
```
If you are using session-based authentication, make sure to also set up the session plugin. See [Populating session store - Setup](#setup-1).

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.

Expand Down