diff options
Diffstat (limited to 'tests/app/Module')
10 files changed, 16 insertions, 12 deletions
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php index 0847a0fcdb..8044079110 100644 --- a/tests/app/Module/AlbumModuleTest.php +++ b/tests/app/Module/AlbumModuleTest.php @@ -18,10 +18,12 @@ declare(strict_types=1); namespace Fisharebest\Webtrees\Module; +use Fisharebest\Webtrees\TestCase; + /** * Test harness for the class AlbumModule */ -class AlbumModuleTest extends \Fisharebest\Webtrees\TestCase +class AlbumModuleTest extends TestCase { /** * Test that the class exists @@ -30,6 +32,6 @@ class AlbumModuleTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\AlbumModule::class)); + $this->assertTrue(class_exists(AlbumModule::class)); } } diff --git a/tests/app/Module/AncestorsChartModuleTest.php b/tests/app/Module/AncestorsChartModuleTest.php index 85b2592a23..dd8f853860 100644 --- a/tests/app/Module/AncestorsChartModuleTest.php +++ b/tests/app/Module/AncestorsChartModuleTest.php @@ -30,6 +30,6 @@ class AncestorsChartModuleTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\AncestorsChartModule::class)); + $this->assertTrue(class_exists(AncestorsChartModule::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php index 430b755736..c317b468a7 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php @@ -18,10 +18,12 @@ declare(strict_types=1); namespace Fisharebest\Webtrees\Module\BatchUpdate; +use Fisharebest\Webtrees\TestCase; + /** * Test harness for the class BatchUpdateBasePlugin */ -class BatchUpdateBasePluginTest extends \Fisharebest\Webtrees\TestCase +class BatchUpdateBasePluginTest extends TestCase { /** * Test that the class exists @@ -30,6 +32,6 @@ class BatchUpdateBasePluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateBasePlugin::class)); + $this->assertTrue(class_exists(BatchUpdateBasePlugin::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php index 09073400da..be8789dded 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php @@ -30,6 +30,6 @@ class BatchUpdateDuplicateLinksPluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateDuplicateLinksPlugin::class)); + $this->assertTrue(class_exists(BatchUpdateDuplicateLinksPlugin::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php index 4387aa65fc..281c587dbf 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php @@ -30,6 +30,6 @@ class BatchUpdateMarriedNamesPluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateMarriedNamesPlugin::class)); + $this->assertTrue(class_exists(BatchUpdateMarriedNamesPlugin::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php index 1a263fdb5a..e679be0d34 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php @@ -30,6 +30,6 @@ class BatchUpdateMissingDeathPluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateMissingDeathPlugin::class)); + $this->assertTrue(class_exists(BatchUpdateMissingDeathPlugin::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php index b3e91aa79d..1787f2aa1f 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php @@ -30,6 +30,6 @@ class BatchUpdateNameFormatPluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateNameFormatPlugin::class)); + $this->assertTrue(class_exists(BatchUpdateNameFormatPlugin::class)); } } diff --git a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php index fbf48a94fb..c192d8ab73 100644 --- a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php +++ b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php @@ -30,6 +30,6 @@ class BatchUpdateSearchReplacePluginTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateSearchReplacePlugin::class)); + $this->assertTrue(class_exists(BatchUpdateSearchReplacePlugin::class)); } } diff --git a/tests/app/Module/BatchUpdateModuleTest.php b/tests/app/Module/BatchUpdateModuleTest.php index 98b0752012..9d7ba94d4b 100644 --- a/tests/app/Module/BatchUpdateModuleTest.php +++ b/tests/app/Module/BatchUpdateModuleTest.php @@ -30,6 +30,6 @@ class BatchUpdateModuleTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\BatchUpdateModule::class)); + $this->assertTrue(class_exists(BatchUpdateModule::class)); } } diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php index 8ddae76980..936f42c0c0 100644 --- a/tests/app/Module/CensusAssistantModuleTest.php +++ b/tests/app/Module/CensusAssistantModuleTest.php @@ -30,6 +30,6 @@ class CensusAssistantModuleTest extends \Fisharebest\Webtrees\TestCase */ public function testClassExists(): void { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Module\CensusAssistantModule::class)); + $this->assertTrue(class_exists(CensusAssistantModule::class)); } } |
