Fix damn test

jc/db-migrate-orgs
Joe Chen 2023-11-03 22:31:28 -04:00
parent bd31c3fa6f
commit b332af5653
No known key found for this signature in database
GPG Key ID: 0BDE5280C552FF60
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ func orgsCountByUser(t *testing.T, ctx context.Context, db *organizations) {
err = db.AddMember(ctx, org1.ID, bob.ID)
require.NoError(t, err)
got, err := db.CountByUser(ctx, 1)
got, err := db.CountByUser(ctx, alice.ID)
require.NoError(t, err)
assert.Equal(t, int64(1), got)