浏览代码

Fix damn test

Joe Chen 1 年之前
父节点
当前提交
b332af5653
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/db/organizations_test.go

+ 1 - 1
internal/db/organizations_test.go

@@ -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)