소스 검색

[DependencyInjection] fixed typo

Fabien Potencier 14 년 전
부모
커밋
7c653305a3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Symfony/Tests/Component/DependencyInjection/InterfaceInjectorTest.php

+ 2 - 2
tests/Symfony/Tests/Component/DependencyInjection/InterfaceInjectorTest.php

@@ -56,7 +56,7 @@ class InterfaceInjectorTest extends \PHPUnit_Framework_TestCase
     }
 
     /**
-     * @covers Symfony\Component\DependencyInjection\InterfaceInjector::supported
+     * @covers Symfony\Component\DependencyInjection\InterfaceInjector::supports
      *
      * @dataProvider getInjectorsAndClasses
      *
@@ -64,7 +64,7 @@ class InterfaceInjectorTest extends \PHPUnit_Framework_TestCase
      * @param string $class
      * @param string $expectedResult
      */
-    public function testSupported(InterfaceInjector $injector, $class, $expectedResult)
+    public function testSupports(InterfaceInjector $injector, $class, $expectedResult)
     {
         $this->assertEquals($expectedResult, $injector->supports($class), '->supports() must return true if injector is to be used on a class, false otherwise');
     }