diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 23:12:06 +0300 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-01 00:46:22 +0300 |
commit | 87dd760a89891d15f75175e5caa43a3983a28d38 (patch) | |
tree | b9365127a8f6856044739f32329d88e14684ee8a /tests | |
parent | 43216f0ac9e3841747019b8c2def0c58e71b8cca (diff) |
Replace TYPE with TYPES
As TYPE::* is deprecated.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/DB/OCPostgreSqlPlatformTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/DB/OCPostgreSqlPlatformTest.php b/tests/lib/DB/OCPostgreSqlPlatformTest.php index 0821a988eb5..62a2fc34712 100644 --- a/tests/lib/DB/OCPostgreSqlPlatformTest.php +++ b/tests/lib/DB/OCPostgreSqlPlatformTest.php @@ -24,7 +24,7 @@ namespace Test\DB; use Doctrine\DBAL\Platforms\PostgreSqlPlatform; use Doctrine\DBAL\Schema\Comparator; use Doctrine\DBAL\Schema\Schema; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; /** * Class OCPostgreSqlPlatformTest @@ -42,8 +42,8 @@ class OCPostgreSqlPlatformTest extends \Test\TestCase { $sourceSchema = new Schema(); $targetSchema = new Schema(); - $this->createTableAndColumn($sourceSchema, Type::INTEGER); - $this->createTableAndColumn($targetSchema, Type::BIGINT); + $this->createTableAndColumn($sourceSchema, Types::INTEGER); + $this->createTableAndColumn($targetSchema, Types::BIGINT); $comparator = new Comparator(); $diff = $comparator->compare($sourceSchema, $targetSchema); |