8000 fixed tests · symfony/symfony@d12cf19 · GitHub
[go: up one dir, main page]

Skip to content

Commit d12cf19

Browse files
committed
fixed tests
1 parent c91638f commit d12cf19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

†CF32 Žsrc/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public function testCreateServiceMethodCallsWithEscapedParam()
324324
{
325325
$builder = new ContainerBuilder();
326326
$builder->register('bar', 'stdClass');
327-
$builder->register('foo1', 'FooClass')->addMethodCall('setBar', array(array('%%unescape_it%%')));
327+
$builder->register('foo1', 'Bar\FooClass')->addMethodCall('setBar', array(array('%%unescape_it%%')));
328328
$builder->setParameter('value', 'bar');
329329
$this->assertEquals(array('%unescape_it%'), $builder->get('foo1')->bar, '->createService() replaces the values in the method calls arguments');
330330
}
@@ -333,7 +333,7 @@ public function testCreateServiceProperties()
333333
{
334334
$builder = new ContainerBuilder();
335335
$builder->register('bar', 'stdClass');
336-
$builder->register('foo1', 'FooClass')->setProperty('bar', array('%value%', new Reference('bar'), '%%unescape_it%%'));
336+
$builder->register('foo1', 'Bar\FooClass')->setProperty('bar', array('%value%', new Reference('bar'), '%%unescape_it%%'));
337337
$builder->setParameter('value', 'bar');
338338
$this->assertEquals(array('bar', $builder->get('bar'), '%unescape_it%'), $builder->get('foo1')->bar, '->createService() replaces the values in the properties');
339339
}

0 commit comments

Comments
 (0)
0