| Conditions | 2 |
| Paths | 2 |
| Total Lines | 28 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function checkIfServicesDefinedAccordingToConfig(): void |
||
| 17 | { |
||
| 18 | $this->load( |
||
| 19 | [ |
||
| 20 | 'user_context' => true, |
||
| 21 | 'user_agent_parser' => 'phpuseragent', |
||
| 22 | 'tags' => [ |
||
| 23 | 'test' => 'test', |
||
| 24 | 'test2' => [ |
||
| 25 | 'name' => 'test2', |
||
| 26 | 'value' => 'test2', |
||
| 27 | ], |
||
| 28 | ], |
||
| 29 | ] |
||
| 30 | ); |
||
| 31 | |||
| 32 | $defaultServices = [ |
||
| 33 | 'dziki.monolog_sentry_bundle.user_data_appending_subscribed_processor', |
||
| 34 | 'dziki\monologsentrybundle\useragent\phpuseragentparser', |
||
| 35 | 'dziki.monolog_sentry_bundle.browser_data_appending_subscribed_processor', |
||
| 36 | 'dziki.monolog_sentry_bundle.test_appending_processor', |
||
| 37 | 'dziki.monolog_sentry_bundle.test2_appending_processor', |
||
| 38 | ]; |
||
| 39 | |||
| 40 | foreach ($defaultServices as $defaultService) { |
||
| 41 | $this->assertContainerBuilderHasService($defaultService); |
||
| 42 | } |
||
| 43 | } |
||
| 44 | |||
| 52 |