Skip to content

Commit bb90dc0

Browse files
committed
fix test
1 parent 7a7a9f3 commit bb90dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/migrations/v1_22/v294_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func Test_AddUniqueIndexForProjectIssue(t *testing.T) {
4343
for _, index := range tables[0].Indexes {
4444
if index.Type == schemas.UniqueType {
4545
found = true
46+
assert.ElementsMatch(t, index.Cols, []string{"project_id", "issue_id"})
4647
break
4748
}
4849
}

0 commit comments

Comments
 (0)