File tree 2 files changed +4
-12
lines changed
Tests/DependencyInjection
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
-
4
- namespace FOS \ElasticaBundle \Tests \Functional \DependencyInjection ;
5
-
3
+ namespace FOS \ElasticaBundle \Tests \DependencyInjection ;
6
4
7
5
use FOS \ElasticaBundle \DependencyInjection \FOSElasticaExtension ;
8
6
use Symfony \Component \DependencyInjection \ContainerBuilder ;
9
7
use Symfony \Component \Yaml \Yaml ;
10
8
11
9
class FOSElasticaExtensionTest extends \PHPUnit_Framework_TestCase
12
10
{
13
-
14
- /**
15
- * @test
16
- */
17
- public function shouldAddParentParamToObjectPersisterCall ()
11
+ public function testShouldAddParentParamToObjectPersisterCall ()
18
12
{
19
-
20
- $ config = Yaml::parse (file_get_contents (__DIR__ .'/config/config.yml ' ));
13
+ $ config = Yaml::parse (file_get_contents (__DIR__ .'/fixtures/config.yml ' ));
21
14
22
15
$ containerBuilder = new ContainerBuilder ;
23
16
$ containerBuilder ->setParameter ('kernel.debug ' , true );
@@ -36,5 +29,4 @@ public function shouldAddParentParamToObjectPersisterCall()
36
29
$ this ->assertArrayHasKey ('_parent ' , $ arguments );
37
30
$ this ->assertEquals ('parent_field ' , $ arguments ['_parent ' ]['type ' ]);
38
31
}
39
-
40
- }
32
+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments