4 ms·
> This error would immediately get caught if you simply registered twice on a test instance Friendly reminder: check if your codebase is actually testing this!
by yen223 2y ago
> This error would immediately get caught if you simply registered twice on a test instance
Friendly reminder: check if your codebase is actually testing this!
One of the interesting consequence of running unit tests with a fresh database everytime is that problems related to unique constraints seldom get caught by unit tests.
- chrisjj 2y agoBut why should we assume twice is enough...