mirror of
https://github.com/oxynote/oxynote.git
synced 2026-10-17 02:49:18 +02:00
test(tags): pass select builder to database assertion
Use the current selectTag signature in the tag-update regression test. The database package now compiles. Database runtime and remaining WIP validation gates are still pending.
This commit is contained in:
parent
80458cb742
commit
5389be1d70
|
|
@ -863,7 +863,7 @@ func Test_agent_UpdateTag(t *testing.T) {
|
|||
err := db.UpdateTag(ctx, c.OrganizationID, c.Tag.ID, c.Input)
|
||||
testutil.RequireEqualError(t, c.Err, err)
|
||||
|
||||
q, args := db.selectTag(c.Tag.OrganizationID).
|
||||
q, args := db.selectTag(db.builder.Select(), c.Tag.OrganizationID).
|
||||
Where(sq.Eq{"tags.id": c.Tag.ID}).
|
||||
MustSql()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user