Skip to content

Commit ed4ce52

Browse files
committed
update Upper to Lower while verifiying
1 parent 6197a05 commit ed4ce52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/migrate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,7 @@ func TestOracleTypeCreateDrop(t *testing.T) {
20022002

20032003
// Verify it exists
20042004
var count int
2005-
if err := DB.Raw(`SELECT COUNT(*) FROM USER_TYPES WHERE TYPE_NAME = UPPER(?)`, typeName).Scan(&count).Error; err != nil {
2005+
if err := DB.Raw(`SELECT COUNT(*) FROM USER_TYPES WHERE TYPE_NAME = LOWER(?)`, typeName).Scan(&count).Error; err != nil {
20062006
t.Fatalf("Failed to verify created type: %v", err)
20072007
}
20082008
if count == 0 {

0 commit comments

Comments
 (0)