Explorar o código

Merge pull request #2033 from rpg600/patch-1

Fix CS
Thomas %!s(int64=11) %!d(string=hai) anos
pai
achega
f1b54e95ac
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      Tests/Admin/AdminHelperTest.php

+ 3 - 5
Tests/Admin/AdminHelperTest.php

@@ -23,8 +23,7 @@ use Symfony\Component\Form\FormView;
 
 
 class AdminHelperTest extends \PHPUnit_Framework_TestCase
 class AdminHelperTest extends \PHPUnit_Framework_TestCase
 {
 {
-
-    public function testgetChildFormBuilder()
+    public function testGetChildFormBuilder()
     {
     {
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
 
 
@@ -43,7 +42,7 @@ class AdminHelperTest extends \PHPUnit_Framework_TestCase
         $this->isInstanceOf('Symfony\Component\Form\FormBuilder', $helper->getChildFormBuilder($formBuilder, 'test_elementId'));
         $this->isInstanceOf('Symfony\Component\Form\FormBuilder', $helper->getChildFormBuilder($formBuilder, 'test_elementId'));
     }
     }
 
 
-    public function testgetChildFormView()
+    public function testGetChildFormView()
     {
     {
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
 
 
@@ -59,7 +58,7 @@ class AdminHelperTest extends \PHPUnit_Framework_TestCase
         $this->isInstanceOf('Symfony\Component\Form\FormView', $helper->getChildFormView($formView, 'test_elementId'));
         $this->isInstanceOf('Symfony\Component\Form\FormView', $helper->getChildFormView($formView, 'test_elementId'));
     }
     }
 
 
-    public function testaddNewInstance()
+    public function testAddNewInstance()
     {
     {
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
 
 
@@ -77,6 +76,5 @@ class AdminHelperTest extends \PHPUnit_Framework_TestCase
         $object->expects($this->once())->method('addFooBar');
         $object->expects($this->once())->method('addFooBar');
 
 
         $helper->addNewInstance($object, $fieldDescription);
         $helper->addNewInstance($object, $fieldDescription);
-
     }
     }
 }
 }