mjlading / flashlearn

A learning webapp for students
https://flashlearn.no
2 stars 0 forks source link

Figure out how to arrange mocked prisma so that user id specific requests work #67

Open Gunnar-Solli-Olsen opened 6 months ago

Gunnar-Solli-Olsen commented 6 months ago

Initial user in the db seems to allow creating testdecks, current workaround uses that instead of properly mocking things

Gunnar-Solli-Olsen commented 5 months ago

current solution is to use a dedicated test database, this could in the future (outside the scope of this project) be dockerized or changed into an in memory database.