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

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

@eddiejaoude

Description

@eddiejaoude

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions