fix-test-session Fix test session

Whitelisting was broken in test session. When a request is whitelisted, `allow`
gets called directly, but because of the `set_user` call that throws an error
because the session hasn't been properly set up. I think a better place to
inject the fake use is overriding `login` to use the injected user.

Sergio Gil Pérez de la Manga avatar Sergio Gil Pérez de la Manga

Push event #8.1 passed

  • Ran for
AMD64
no language set
Git
language: ruby
Build Config
{
  "os": [
    "linux"
  ],
  "language": "ruby"
}