Reinis Grinbergs 11 年 前
コミット
37d43b6e9b
1 ファイル変更3 行追加5 行削除
  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
 {
-
-    public function testgetChildFormBuilder()
+    public function testGetChildFormBuilder()
     {
         $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'));
     }
 
-    public function testgetChildFormView()
+    public function testGetChildFormView()
     {
         $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'));
     }
 
-    public function testaddNewInstance()
+    public function testAddNewInstance()
     {
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
 
@@ -77,6 +76,5 @@ class AdminHelperTest extends \PHPUnit_Framework_TestCase
         $object->expects($this->once())->method('addFooBar');
 
         $helper->addNewInstance($object, $fieldDescription);
-
     }
 }