File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 11<?php
22
3-
4- namespace FOS \ElasticaBundle \Tests \Functional \DependencyInjection ;
5-
3+ namespace FOS \ElasticaBundle \Tests \DependencyInjection ;
64
75use FOS \ElasticaBundle \DependencyInjection \FOSElasticaExtension ;
86use Symfony \Component \DependencyInjection \ContainerBuilder ;
97use Symfony \Component \Yaml \Yaml ;
108
119class FOSElasticaExtensionTest extends \PHPUnit_Framework_TestCase
1210{
13-
14- /**
15- * @test
16- */
17- public function shouldAddParentParamToObjectPersisterCall ()
11+ public function testShouldAddParentParamToObjectPersisterCall ()
1812 {
19-
20- $ config = Yaml::parse (file_get_contents (__DIR__ .'/config/config.yml ' ));
13+ $ config = Yaml::parse (file_get_contents (__DIR__ .'/fixtures/config.yml ' ));
2114
2215 $ containerBuilder = new ContainerBuilder ;
2316 $ containerBuilder ->setParameter ('kernel.debug ' , true );
@@ -36,5 +29,4 @@ public function shouldAddParentParamToObjectPersisterCall()
3629 $ this ->assertArrayHasKey ('_parent ' , $ arguments );
3730 $ this ->assertEquals ('parent_field ' , $ arguments ['_parent ' ]['type ' ]);
3831 }
39-
40- }
32+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments