Skip to content

Commit 3670a2c

Browse files
authored
Update models/project/column_test.go
1 parent 74c9b7b commit 3670a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/project/column_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestGetDefaultColumn(t *testing.T) {
3232
column, err = projectWithMultipleDefaults.MustDefaultColumn(db.DefaultContext)
3333
assert.NoError(t, err)
3434
assert.Equal(t, int64(6), column.ProjectID)
35-
assert.Equal(t, int64(8), column.ID) // sorted by "sorting, id", id 8 is the first default column
35+
assert.Equal(t, int64(9), column.ID) // there are 2 default columns in the test data, use the latest one
3636

3737
// set 8 as default column
3838
assert.NoError(t, SetDefaultColumn(db.DefaultContext, column.ProjectID, 8))

0 commit comments

Comments
 (0)