diff options
author | Joe Chen <jc@unknwon.io> | 2023-02-07 23:39:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 23:39:00 +0800 |
commit | 133b9d90441008ee175e1f8e6369e06309e1392a (patch) | |
tree | 70f29798055962f6700ba6a93b023a8328a5eff4 /internal/db/org_users_test.go | |
parent | 7c453d5b3632a6bbdbd99205c518303a9e25a4e1 (diff) |
refactor(db): finish migrate methods off `user.go` (#7337)
Diffstat (limited to 'internal/db/org_users_test.go')
-rw-r--r-- | internal/db/org_users_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/org_users_test.go b/internal/db/org_users_test.go index 49f238d3..bff515bc 100644 --- a/internal/db/org_users_test.go +++ b/internal/db/org_users_test.go @@ -47,7 +47,7 @@ func TestOrgUsers(t *testing.T) { func orgUsersCountByUser(t *testing.T, db *orgUsers) { ctx := context.Background() - // TODO: Use OrgUsers.Join to replace SQL hack when the method is available. + // TODO: Use Orgs.Join to replace SQL hack when the method is available. err := db.Exec(`INSERT INTO org_user (uid, org_id) VALUES (?, ?)`, 1, 1).Error require.NoError(t, err) err = db.Exec(`INSERT INTO org_user (uid, org_id) VALUES (?, ?)`, 2, 1).Error |