Moved the MySQL Point type into the schema manager test namespace

parent deb2f699
<?php <?php
namespace Doctrine\Tests\Types; namespace Doctrine\Tests\DBAL\Functional\Schema\MySQL;
use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use function strtoupper; use function strtoupper;
class MySqlPointType extends Type class PointType extends Type
{ {
/** /**
* {@inheritDoc} * {@inheritDoc}
......
...@@ -11,7 +11,7 @@ use Doctrine\DBAL\Schema\Table; ...@@ -11,7 +11,7 @@ use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\BlobType; use Doctrine\DBAL\Types\BlobType;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types; use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\Types\MySqlPointType; use Doctrine\Tests\DBAL\Functional\Schema\MySQL\PointType;
class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
{ {
...@@ -25,7 +25,7 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase ...@@ -25,7 +25,7 @@ class MySqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
$this->resetSharedConn(); $this->resetSharedConn();
Type::addType('point', MySqlPointType::class); Type::addType('point', PointType::class);
} }
public function testSwitchPrimaryKeyColumns() : void public function testSwitchPrimaryKeyColumns() : void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment