The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
Showing only changes of commit 8e44666131 - Show all commits
+5
View File
@@ -271,6 +271,11 @@ func TestRegister_OneInviteMakesOneAccountUnderARace(t *testing.T) {
func TestRegister_AfterTheFirstAccountAnInviteIsTheOnlyWayIn(t *testing.T) { func TestRegister_AfterTheFirstAccountAnInviteIsTheOnlyWayIn(t *testing.T) {
h, pool := testHandlers(t) h, pool := testHandlers(t)
resetInvites(t, h) resetInvites(t, h)
// Exactly one account, so the first sign-up below is the second account:
// accounts other tests made through sign-up survive dbtest's reset.
if _, err := pool.Exec(context.Background(), "DELETE FROM users"); err != nil {
t.Fatalf("reset users: %v", err)
}
admin := seedUser(t, pool, "admin1", "pw", true) admin := seedUser(t, pool, "admin1", "pw", true)
const token = "test-invite-abc123" const token = "test-invite-abc123"
if _, err := pool.Exec(context.Background(), if _, err := pool.Exec(context.Background(),