Browse Source

[DependencyInjection] fixed typo

Fabien Potencier 15 năm trước cách đây
mục cha
commit
8ed83f7035

+ 1 - 1
tests/unit/Symfony/Components/DependencyInjection/ContainerTest.php

@@ -216,7 +216,7 @@ $t->is($sc->getFooBar_FooService(), $foo, '__call() finds services is the method
 try
 {
   $sc->getFooBar_Foo();
-  $t->pass('__call() throws a \RuntimeException exception if the method is not a service method');
+  $t->fail('__call() throws a \RuntimeException exception if the method is not a service method');
 }
 catch (\RuntimeException $e)
 {