|
11 | 11 |
|
12 | 12 | class ConfigurationTest extends TestCase
|
13 | 13 | {
|
14 |
| - public const SUPPORTED_SENTRY_OPTIONS_COUNT = 21; |
| 14 | + public const SUPPORTED_SENTRY_OPTIONS_COUNT = 22; |
15 | 15 |
|
16 | 16 | public function testDataProviderIsMappingTheRightNumberOfOptions(): void
|
17 | 17 | {
|
@@ -53,6 +53,7 @@ public function testConfigurationDefaults(): void
|
53 | 53 | '%kernel.cache_dir%',
|
54 | 54 | '%kernel.root_dir%/../vendor',
|
55 | 55 | ],
|
| 56 | + 'integrations' => $defaultSdkValues->getIntegrations(), |
56 | 57 | 'excluded_exceptions' => $defaultSdkValues->getExcludedExceptions(),
|
57 | 58 | 'prefixes' => $defaultSdkValues->getPrefixes(),
|
58 | 59 | 'project_root' => '%kernel.root_dir%/..',
|
@@ -95,6 +96,7 @@ public function optionValuesProvider(): array
|
95 | 96 | ['error_types', E_ALL],
|
96 | 97 | ['http_proxy', '1.2.3.4:5678'],
|
97 | 98 | ['in_app_exclude', ['some/path']],
|
| 99 | + ['integrations', []], |
98 | 100 | ['excluded_exceptions', [\Throwable::class]],
|
99 | 101 | ['logger', 'some-logger'],
|
100 | 102 | ['max_breadcrumbs', 15],
|
@@ -143,9 +145,11 @@ public function invalidValuesProvider(): array
|
143 | 145 | ['enable_compression', 'string'],
|
144 | 146 | ['environment', ''],
|
145 | 147 | ['error_types', []],
|
| 148 | + ['excluded_exceptions', 'some-string'], |
146 | 149 | ['http_proxy', []],
|
147 | 150 | ['in_app_exclude', 'some/single/path'],
|
148 |
| - ['excluded_exceptions', 'some-string'], |
| 151 | + ['integrations', [1]], |
| 152 | + ['integrations', 'a string'], |
149 | 153 | ['logger', []],
|
150 | 154 | ['max_breadcrumbs', -1],
|
151 | 155 | ['max_breadcrumbs', 'string'],
|
|
0 commit comments