Skip to content

Commit

Permalink
[Bridge/Doctrine] Fix legacy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 29, 2015
1 parent ff2addc commit 7d92372
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 0 deletions.
Expand Up @@ -13,6 +13,10 @@

use Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -15,6 +15,10 @@
use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity;
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* Test choices generated from an entity with a primary foreign key.
*
Expand Down
Expand Up @@ -13,6 +13,10 @@

use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -13,6 +13,10 @@

use Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -16,6 +16,10 @@
use Doctrine\ORM\Tools\SchemaTool;
use Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -14,6 +14,10 @@
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
Expand Down
Expand Up @@ -14,6 +14,10 @@
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Premi Giorgio <giosh94mhz@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -14,6 +14,10 @@
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -11,6 +11,10 @@

namespace Symfony\Bridge\Doctrine\Tests\Form\ChoiceList;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down
Expand Up @@ -14,6 +14,10 @@
use Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList;
use Symfony\Bridge\Doctrine\Form\ChoiceList\ORMQueryBuilderLoader;

if (!class_exists('Symfony\Component\Form\Tests\Extension\Core\ChoiceList\AbstractChoiceListTest')) {
return;
}

/**
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
Expand Down

0 comments on commit 7d92372

Please sign in to comment.