Browse Source

add the setUp method to the legacy group

It contains BC code that will trigger deprecation notices.
Grégoire Paris 9 years ago
parent
commit
5a71dc975d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Tests/Form/DataTransformer/ModelsToArrayTransformerTest.php

+ 3 - 0
Tests/Form/DataTransformer/ModelsToArrayTransformerTest.php

@@ -26,6 +26,9 @@ class ModelsToArrayTransformerTest extends \PHPUnit_Framework_TestCase
 
     private $modelManager;
 
+    /**
+     * @group legacy
+     */
     public function setUp()
     {
         $this->modelChoiceList = $this->getMockBuilder('Sonata\AdminBundle\Form\ChoiceList\ModelChoiceList')