File tree 2 files changed +6
-16
lines changed
tests/Integration/DependencyInjection
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 5
5
http://symfony.com/schema/dic/services/services-1.0.xsd" >
6
6
<services >
7
7
<defaults autowire =" true" autoconfigure =" true" public =" true" />
8
-
9
- <service id =" symfony_health_check.doctrine_check" class =" SymfonyHealthCheckBundle\Check\DoctrineCheck" />
10
- <service id =" symfony_health_check.environment_check" class =" SymfonyHealthCheckBundle\Check\EnvironmentCheck" />
8
+ <service id =" symfony_health_check.doctrine_check" class =" SymfonyHealthCheckBundle\Check\DoctrineCheck" >
9
+ <argument type =" service" id =" service_container" />
10
+ </service >
11
+ <service id =" symfony_health_check.environment_check" class =" SymfonyHealthCheckBundle\Check\EnvironmentCheck" >
12
+ <argument type =" service" id =" service_container" />
13
+ </service >
11
14
<service id =" symfony_health_check.status_up_check" class =" SymfonyHealthCheckBundle\Check\StatusUpCheck" />
12
15
</services >
13
16
</container >
Original file line number Diff line number Diff line change @@ -30,19 +30,6 @@ public function testWithEmptyConfig(): void
30
30
}
31
31
}
32
32
33
- public function testNotExistServiceConfig (): void
34
- {
35
- try {
36
- $ this ->createContainerFromFixture ('error_bundle_config ' );
37
- } catch (Throwable $ exception ) {
38
- self ::assertInstanceOf (ServiceNotFoundException::class, $ exception );
39
- self ::assertSame (
40
- 'You have requested a non-existent service "not_exists.check". ' ,
41
- $ exception ->getMessage ()
42
- );
43
- }
44
- }
45
-
46
33
public function testWithFullConfig (): void
47
34
{
48
35
$ container = $ this ->createContainerFromFixture ('filled_bundle_config ' );
You can’t perform that action at this time.
0 commit comments