diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-07-02 12:21:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 12:21:01 +0200 |
commit | 0157e30ad4281d65818ac0f0e08f990aa145ca95 (patch) | |
tree | a9e7959748a3bf23d0a5c18ada7fce13f32e0da4 /tests | |
parent | 0ac3a65f627fab0e5010af4c496410441e47aed4 (diff) | |
parent | 87dd760a89891d15f75175e5caa43a3983a28d38 (diff) | |
download | nextcloud-server-0157e30ad4281d65818ac0f0e08f990aa145ca95.tar.gz nextcloud-server-0157e30ad4281d65818ac0f0e08f990aa145ca95.zip |
Merge pull request #21599 from nextcloud/debt/noid/type-to-types
Replace TYPE with TYPES
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); |