Skip to content

Commit 4b57173

Browse files
committed
Adjusted tests
1 parent 15f951f commit 4b57173

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

tests/Propel/Tests/Generator/Platform/MysqlPlatformMigrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testRenameTableDDL($databaseDiff)
8686
8787
CHANGE `bar` `bar1` INTEGER,
8888
89-
CHANGE `baz` `baz` VARCHAR(12),
89+
CHANGE `baz` `baz` VARCHAR(12) DEFAULT 'pdf;jpg;png;doc;docx;xls;xlsx;txt',
9090
9191
ADD `baz3` TEXT AFTER `baz`;
9292

tests/Propel/Tests/Generator/Platform/OraclePlatformMigrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function testGetModifyTableDDL($tableDiff)
105105
106106
MODIFY
107107
(
108-
baz NVARCHAR2(12)
108+
baz NVARCHAR2(12) DEFAULT 'pdf;jpg;png;doc;docx;xls;xlsx;txt'
109109
),
110110
111111
ADD

tests/Propel/Tests/Generator/Platform/PgsqlPlatformMigrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ public function testGetModifyTableDDL($tableDiff)
9999
100100
ALTER TABLE "foo"
101101
102+
ALTER COLUMN "baz" SET DEFAULT 'pdf;jpg;png;doc;docx;xls;xlsx;txt',
103+
102104
ALTER COLUMN "baz" DROP NOT NULL,
103105
104106
ADD "baz3" TEXT;

0 commit comments

Comments
 (0)