#1178 - removing duplicate configuration of the rot13 DBAL type
This commit is contained in:
parent
b32c779c37
commit
edf054cd0c
@ -19,13 +19,8 @@ class ManyToManyCompositeIdForeignKeyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_manytomany_compositeid_foreignkey');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$auxiliary = new Entity\AuxiliaryEntity();
|
||||
|
@ -18,13 +18,8 @@ class ManyToManyCompositeIdTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_manytomany_compositeid');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedManyToManyCompositeIdEntity();
|
||||
|
@ -19,12 +19,6 @@ class ManyToManyExtraLazyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_manytomany_extralazy');
|
||||
parent::setUp();
|
||||
|
||||
|
@ -18,13 +18,8 @@ class ManyToManyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_manytomany');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedManyToManyEntity();
|
||||
|
@ -19,13 +19,8 @@ class OneToManyCompositeIdForeignKeyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetomany_compositeid_foreignkey');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$auxiliary = new Entity\AuxiliaryEntity();
|
||||
|
@ -18,13 +18,8 @@ class OneToManyCompositeIdTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetomany_compositeid');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedOneToManyCompositeIdEntity();
|
||||
|
@ -19,13 +19,8 @@ class OneToManyExtraLazyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetomany_extralazy');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedOneToManyExtraLazyEntity();
|
||||
|
@ -18,13 +18,8 @@ class OneToManyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetomany');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedOneToManyEntity();
|
||||
|
@ -19,12 +19,6 @@ class OneToOneCompositeIdForeignKeyTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetoone_compositeid_foreignkey');
|
||||
parent::setUp();
|
||||
|
||||
|
@ -18,12 +18,6 @@ class OneToOneCompositeIdTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetoone_compositeid');
|
||||
parent::setUp();
|
||||
|
||||
|
@ -18,13 +18,8 @@ class OneToOneTest extends OrmFunctionalTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
if (DBALType::hasType('rot13')) {
|
||||
DBALType::overrideType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
} else {
|
||||
DBALType::addType('rot13', 'Doctrine\Tests\DbalTypes\Rot13Type');
|
||||
}
|
||||
|
||||
$this->useModelSet('vct_onetoone');
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$inversed = new Entity\InversedOneToOneEntity();
|
||||
|
Loading…
x
Reference in New Issue
Block a user