Skip to content

Commit 092fe2b

Browse files
committed
Fix tests
1 parent 9d55e1c commit 092fe2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/functional/Generator/PhpStormMetaTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function assertServices(): void {
185185
'Drupal\Component\DependencyInjection\ReverseContainer' => '\Drupal\Component\DependencyInjection\ReverseContainer',
186186
'Drupal\Core\Access\CheckProviderInterface' => '\Drupal\Core\Access\CheckProvider',
187187
'Drupal\Core\Config\StorageManagerInterface' => '\Drupal\Core\Config\ExportStorageManager',
188-
'Drupal\Core\Form\FormCacheInterface' => '\Drupal\Core\Form\FormCache',
188+
'Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber' => '\Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber',
189189
PHP;
190190
self::assertStringContainsString($services_1, $generated_content);
191191

@@ -196,7 +196,7 @@ private function assertServices(): void {
196196
'Drupal\Component\DependencyInjection\ReverseContainer' => '\Drupal\Component\DependencyInjection\ReverseContainer',
197197
'Drupal\Core\Access\CheckProviderInterface' => '\Drupal\Core\Access\CheckProvider',
198198
'Drupal\Core\Config\StorageManagerInterface' => '\Drupal\Core\Config\ExportStorageManager',
199-
'Drupal\Core\Form\FormCacheInterface' => '\Drupal\Core\Form\FormCache',
199+
'Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber' => '\Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber',
200200
PHP;
201201
self::assertStringContainsString($services_2, $generated_content);
202202
}

tests/functional/Helper/Drupal/ServiceInfoTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public function testGetServicesIds(): void {
4646
'Drupal\Component\DependencyInjection\ReverseContainer',
4747
'Drupal\Core\Access\CheckProviderInterface',
4848
'Drupal\Core\Config\StorageManagerInterface',
49+
'Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber',
4950
'Drupal\Core\Form\FormCacheInterface',
5051
'Drupal\Core\Http\HandlerStackConfigurator',
51-
'Drupal\Core\Menu\MenuTreeStorageInterface',
5252
];
5353
self::assertSame($expected_service_ids, \array_slice($service_ids, 0, 6));
5454
}
@@ -71,9 +71,9 @@ public function testGetServiceDefinitions(): void {
7171
'Drupal\Component\DependencyInjection\ReverseContainer',
7272
'Drupal\Core\Access\CheckProviderInterface',
7373
'Drupal\Core\Config\StorageManagerInterface',
74+
'Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber',
7475
'Drupal\Core\Form\FormCacheInterface',
7576
'Drupal\Core\Http\HandlerStackConfigurator',
76-
'Drupal\Core\Menu\MenuTreeStorageInterface',
7777
];
7878
self::assertSame($expected_service_ids, \array_slice(\array_keys($definitions), 0, 6));
7979

@@ -116,9 +116,9 @@ public function testGetServiceClasses(): void {
116116
'Drupal\Component\DependencyInjection\ReverseContainer' => '\Drupal\Component\DependencyInjection\ReverseContainer',
117117
'Drupal\Core\Access\CheckProviderInterface' => '\Drupal\Core\Access\CheckProvider',
118118
'Drupal\Core\Config\StorageManagerInterface' => '\Drupal\Core\Config\ExportStorageManager',
119+
'Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber' => '\Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber',
119120
'Drupal\Core\Form\FormCacheInterface' => '\Drupal\Core\Form\FormCache',
120121
'Drupal\Core\Http\HandlerStackConfigurator' => '\Drupal\Core\Http\HandlerStackConfigurator',
121-
'Drupal\Core\Menu\MenuTreeStorageInterface' => '\Drupal\Core\Menu\MenuTreeStorage',
122122
];
123123
self::assertSame($expected_service_ids, \array_slice($classes, 0, 6));
124124
}

0 commit comments

Comments
 (0)