We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d215623 commit e859276Copy full SHA for e859276
models/project/column_test.go
@@ -32,7 +32,7 @@ func TestGetDefaultColumn(t *testing.T) {
32
column, err = projectWithMultipleDefaults.MustDefaultColumn(db.DefaultContext)
33
assert.NoError(t, err)
34
assert.Equal(t, int64(6), column.ProjectID)
35
- assert.Equal(t, int64(9), column.ID)
+ assert.Equal(t, int64(8), column.ID) // sorted by sorting, id 8 is the first default column
36
37
// set 8 as default column
38
assert.NoError(t, SetDefaultColumn(db.DefaultContext, column.ProjectID, 8))
0 commit comments