Issue #3490507 by alexpott, smustgrave: Fix bogus mocking in \Drupal\Tests\Core\Update\UpdateRegistryTest

(cherry picked from commit 57bb8807d4)
merge-requests/9350/merge
quietone 2024-11-30 20:12:52 +13:00
parent db062458cf
commit 6e347fa8fc
No known key found for this signature in database
GPG Key ID: 43BFBBB26EA09FE1
1 changed files with 9 additions and 9 deletions

View File

@ -192,7 +192,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -275,7 +275,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -318,7 +318,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -370,7 +370,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -440,7 +440,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -483,7 +483,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -523,7 +523,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -598,7 +598,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);
@ -685,7 +685,7 @@ EOS;
$theme_handler = $this->prophesize(ThemeHandlerInterface::class);
$theme_handler->listInfo()->willReturn([
'theme_d' => [
'type' => 'theme_d',
'type' => 'theme',
'pathname' => 'core/themes/theme_d/theme_d.info.yml',
],
]);