Skip to content

Commit 81165d5

Browse files
committed
Fix dbgen unit test
1 parent 6bee9af commit 81165d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbgen/generator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func TestGenerator(t *testing.T) {
167167
t.Parallel()
168168
db := dbfake.New()
169169
exp := dbgen.WorkspaceBuild(t, db, database.WorkspaceBuild{})
170-
require.Equal(t, exp, must(db.GetWorkspaceBuildByID(context.Background(), exp.ID)))
170+
require.Equal(t, exp, must(db.GetWorkspaceBuildByID(context.Background(), exp.ID)).ToThin())
171171
})
172172

173173
t.Run("User", func(t *testing.T) {

0 commit comments

Comments
 (0)