diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 22:12:06 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 23:46:22 +0200 |
commit | 87dd760a89891d15f75175e5caa43a3983a28d38 (patch) | |
tree | b9365127a8f6856044739f32329d88e14684ee8a /tests | |
parent | 43216f0ac9e3841747019b8c2def0c58e71b8cca (diff) | |
download | nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.tar.gz nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.zip |
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); |