diff --git a/plugins/bc-theme-config/src/BcThemeConfigPlugin.php b/plugins/bc-theme-config/src/BcThemeConfigPlugin.php index 136693a46a..83e95e95ee 100644 --- a/plugins/bc-theme-config/src/BcThemeConfigPlugin.php +++ b/plugins/bc-theme-config/src/BcThemeConfigPlugin.php @@ -30,6 +30,7 @@ class BcThemeConfigPlugin extends BcPlugin * @param ContainerInterface $container * @noTodo * @checked + * @unitTest */ public function services(ContainerInterface $container): void { diff --git a/plugins/bc-theme-config/tests/TestCase/BcThemeConfigPluginTest.php b/plugins/bc-theme-config/tests/TestCase/BcThemeConfigPluginTest.php new file mode 100644 index 0000000000..7c7c093ff7 --- /dev/null +++ b/plugins/bc-theme-config/tests/TestCase/BcThemeConfigPluginTest.php @@ -0,0 +1,43 @@ +BcThemeConfigPlugin = new BcThemeConfigPlugin(['name' => 'BcThemeConfig']); + } + + public function tearDown(): void + { + unset($this->BcThemeConfigPlugin); + parent::tearDown(); + } + + /** + * test services + */ + + public function test_services() + { + $container = new Container(); + $this->BcThemeConfigPlugin->services($container); + $this->assertTrue($container->has(ThemeConfigsServiceInterface::class)); + } + + /** + * test modifyDownloadDefaultData + */ + public function test_modifyDownloadDefaultData() + { + $this->markTestIncomplete('このテストは、まだ実装されていません。'); + } + +} \ No newline at end of file