Skip to content

Commit

Permalink
test: Require cookie to add session in Settings
Browse files Browse the repository at this point in the history
  Settings tests' requests are all considered to have a session cookie
  which makes impossible to test the result of making a request as a
  logged-out user.

  To this end, we'll add the session to the request context only if a
  session cookie with a value of `connected` is present.
  • Loading branch information
taratatach committed Sep 27, 2023
1 parent c92b2de commit 8297054
Showing 1 changed file with 65 additions and 3 deletions.
Loading

0 comments on commit 8297054

Please sign in to comment.