Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Write automated test that creates a new user every time #246

Open
eddiejaoude opened this issue Sep 12, 2024 · 0 comments
Open

Write automated test that creates a new user every time #246

eddiejaoude opened this issue Sep 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eddiejaoude
Copy link
Member

Description

When the tests run on an existing DB, the user is no longer created but updated.

A bug was recently found when new users log in with GitHub OAuth, so we need to test the login for new users

  1. This could be done by generating a random mock user
    OR
  2. Reset the DB everytime the tests run

I think option 1 is best, because we don't want to reset the DB in our local dev environment

Related issue #243

Screenshots

No response

Additional information

No response

@eddiejaoude eddiejaoude added the bug Something isn't working label Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant