summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/app/AuthTest.php5
-rw-r--r--tests/app/Controller/AdvancedSearchControllerTest.php5
-rw-r--r--tests/app/Controller/AjaxControllerTest.php5
-rw-r--r--tests/app/Controller/AncestryControllerTest.php5
-rw-r--r--tests/app/Controller/BaseControllerTest.php5
-rw-r--r--tests/app/Controller/BranchesControllerTest.php5
-rw-r--r--tests/app/Controller/ChartControllerTest.php5
-rw-r--r--tests/app/Controller/CompactControllerTest.php5
-rw-r--r--tests/app/Controller/DescendancyControllerTest.php5
-rw-r--r--tests/app/Controller/FamilyControllerTest.php5
-rw-r--r--tests/app/Controller/FamilybookControllerTest.php5
-rw-r--r--tests/app/Controller/FanchartControllerTest.php5
-rw-r--r--tests/app/Controller/GedcomRecordControllerTest.php5
-rw-r--r--tests/app/Controller/HourglassControllerTest.php5
-rw-r--r--tests/app/Controller/IndividualControllerTest.php5
-rw-r--r--tests/app/Controller/LifespanControllerTest.php5
-rw-r--r--tests/app/Controller/MediaControllerTest.php5
-rw-r--r--tests/app/Controller/NoteControllerTest.php5
-rw-r--r--tests/app/Controller/PageControllerTest.php5
-rw-r--r--tests/app/Controller/PedigreeControllerTest.php5
-rw-r--r--tests/app/Controller/RepositoryControllerTest.php5
-rw-r--r--tests/app/Controller/SearchControllerTest.php5
-rw-r--r--tests/app/Controller/SimpleControllerTest.php5
-rw-r--r--tests/app/Controller/SourceControllerTest.php5
-rw-r--r--tests/app/Controller/TimelineControllerTest.php5
-rw-r--r--tests/app/DatabaseTest.php5
-rw-r--r--tests/app/Date/CalendarDateTest.php5
-rw-r--r--tests/app/Date/FrenchDateTest.php5
-rw-r--r--tests/app/Date/GregorianDateTest.php5
-rw-r--r--tests/app/Date/HijriDateTest.php5
-rw-r--r--tests/app/Date/JalaliDateTest.php5
-rw-r--r--tests/app/Date/JewishDateTest.php5
-rw-r--r--tests/app/Date/JulianDateTest.php5
-rw-r--r--tests/app/Date/RomanDateTest.php5
-rw-r--r--tests/app/DateTest.php5
-rw-r--r--tests/app/FactTest.php5
-rw-r--r--tests/app/FamilyTest.php5
-rw-r--r--tests/app/FileTest.php5
-rw-r--r--tests/app/FilterTest.php5
-rw-r--r--tests/app/FlashMessagesTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeAdopTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeNameTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodePediTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeQuayTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeRelaTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeStatTest.php5
-rw-r--r--tests/app/Gedcom/GedcomCodeTempTest.php5
-rw-r--r--tests/app/GedcomRecordTest.php5
-rw-r--r--tests/app/GedcomTagTest.php (renamed from tests/app/Gedcom/GedcomTagTest.php)5
-rw-r--r--tests/app/I18NTest.php3
-rw-r--r--tests/app/IndividualTest.php5
-rw-r--r--tests/app/LogTest.php5
-rw-r--r--tests/app/MailTest.php5
-rw-r--r--tests/app/MediaTest.php5
-rw-r--r--tests/app/MenuTest.php3
-rw-r--r--tests/app/Module/AhnentafelReportModuleTest.php5
-rw-r--r--tests/app/Module/AlbumModuleTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php5
-rw-r--r--tests/app/Module/BatchUpdateModuleTest.php5
-rw-r--r--tests/app/Module/BirthDeathMarriageReportModuleTest.php (renamed from tests/app/Module/BatchUpdate/BirthDeathMarriageReportModuleTest.php)5
-rw-r--r--tests/app/Module/BirthReportModuleTest.php5
-rw-r--r--tests/app/Module/CemeteryReportModuleTest.php5
-rw-r--r--tests/app/Module/CensusAssistantModuleTest.php5
-rw-r--r--tests/app/Module/ChangeReportModuleTest.php5
-rw-r--r--tests/app/Module/ChartsBlockModuleTest.php5
-rw-r--r--tests/app/Module/CkeditorModuleTest.php5
-rw-r--r--tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php (renamed from tests/app/Module/ClippingsCart/ClippingsCartTest.php)9
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php5
-rw-r--r--tests/app/Module/DeathReportModuleTest.php5
-rw-r--r--tests/app/Module/DescendancyModuleTest.php5
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php5
-rw-r--r--tests/app/Module/ExtraInformationModuleTest.php5
-rw-r--r--tests/app/Module/FactSourcesReportModuleTest.php5
-rw-r--r--tests/app/Module/FamiliesSidebarModuleTest.php5
-rw-r--r--tests/app/Module/FamilyGroupReportModuleTest.php5
-rw-r--r--tests/app/Module/FamilyNavigatorModuleTest.php5
-rw-r--r--tests/app/Module/FamilyTreeFavoritesModuleTest.php5
-rw-r--r--tests/app/Module/FamilyTreeNewsModuleTest.php5
-rw-r--r--tests/app/Module/FamilyTreeStatisticsModuleTest.php5
-rw-r--r--tests/app/Module/FrequentlyAskedQuestionsModuleTest.php5
-rw-r--r--tests/app/Module/GoogleMapsModuleTest.php5
-rw-r--r--tests/app/Module/HtmlBlockModuleTest.php5
-rw-r--r--tests/app/Module/IndividualFactsTabModuleTest.php5
-rw-r--r--tests/app/Module/IndividualFamiliesReportModuleTest.php5
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php5
-rw-r--r--tests/app/Module/IndividualSidebarModuleTest.php5
-rw-r--r--tests/app/Module/InteractiveTree/TreeViewTest.php5
-rw-r--r--tests/app/Module/InteractiveTreeModuleTest.php5
-rw-r--r--tests/app/Module/LoggedInUsersModuleTest.php5
-rw-r--r--tests/app/Module/MarriageReportModuleTest.php5
-rw-r--r--tests/app/Module/MediaTabModuleTest.php5
-rw-r--r--tests/app/Module/MissingFactsReportModuleTest.php5
-rw-r--r--tests/app/Module/ModuleBlockInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleChartInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleConfigInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleMenuInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleReportInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleSidebarInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleTabInterfaceTest.php5
-rw-r--r--tests/app/Module/ModuleThemeInterfaceTest.php5
-rw-r--r--tests/app/Module/NotesTabModuleTest.php5
-rw-r--r--tests/app/Module/OccupationReportModuleTest.php5
-rw-r--r--tests/app/Module/OnThisDayModuleTest.php5
-rw-r--r--tests/app/Module/PageMenuModuleTest.php5
-rw-r--r--tests/app/Module/PedigreeReportModuleTest.php5
-rw-r--r--tests/app/Module/RecentChangesModuleTest.php5
-rw-r--r--tests/app/Module/RelatedIndividualsReportModuleTest.php5
-rw-r--r--tests/app/Module/RelativesTabModuleTest.php5
-rw-r--r--tests/app/Module/ResearchTaskModuleTest.php5
-rw-r--r--tests/app/Module/ReviewChangesModuleTest.php5
-rw-r--r--tests/app/Module/SiteMapModuleTest.php5
-rw-r--r--tests/app/Module/SlideShowModuleTest.php5
-rw-r--r--tests/app/Module/SourcesTabModuleTest.php5
-rw-r--r--tests/app/Module/StoriesModuleTest.php5
-rw-r--r--tests/app/Module/ThemeSelectModuleTest.php5
-rw-r--r--tests/app/Module/TopGivenNamesModuleTest.php5
-rw-r--r--tests/app/Module/TopPageViewsModuleTest.php5
-rw-r--r--tests/app/Module/TopSurnamesModuleTest.php5
-rw-r--r--tests/app/Module/UpcomingAnniversariesModuleTest.php5
-rw-r--r--tests/app/Module/UserFavoritesModuleTest.php5
-rw-r--r--tests/app/Module/UserJournalModuleTest.php5
-rw-r--r--tests/app/Module/UserMessagesModuleTest.php5
-rw-r--r--tests/app/Module/UserWelcomeModuleTest.php5
-rw-r--r--tests/app/Module/WelcomeBlockModuleTest.php5
-rw-r--r--tests/app/Module/YahrzeitModuleTest.php5
-rw-r--r--tests/app/ModuleTest.php5
-rw-r--r--tests/app/NoteTest.php5
-rw-r--r--tests/app/PlaceTest.php5
-rw-r--r--tests/app/Query/QueryMediaTest.php5
-rw-r--r--tests/app/Query/QueryNameTest.php5
-rw-r--r--tests/app/Report/ReportBaseTest.php5
-rw-r--r--tests/app/Report/ReportHTMLTest.php5
-rw-r--r--tests/app/Report/ReportPDFTest.php5
-rw-r--r--tests/app/RepositoryTest.php5
-rw-r--r--tests/app/SiteTest.php5
-rw-r--r--tests/app/SoundexTest.php5
-rw-r--r--tests/app/SourceTest.php5
-rw-r--r--tests/app/StatementTest.php5
-rw-r--r--tests/app/StatsTest.php5
-rw-r--r--tests/app/TreeTest.php5
-rw-r--r--tests/app/UserTest.php5
-rw-r--r--tests/includes/functions/FunctionsChartsTest.php17
-rw-r--r--tests/includes/functions/FunctionsDateTest.php9
-rw-r--r--tests/includes/functions/FunctionsDbTest.php49
-rw-r--r--tests/includes/functions/FunctionsEditTest.php75
-rw-r--r--tests/includes/functions/FunctionsExportTest.php11
-rw-r--r--tests/includes/functions/FunctionsImportTest.php21
-rw-r--r--tests/includes/functions/FunctionsMediaDbTest.php5
-rw-r--r--tests/includes/functions/FunctionsPrintFactsTest.php21
-rw-r--r--tests/includes/functions/FunctionsPrintListsTest.php33
-rw-r--r--tests/includes/functions/FunctionsPrintTest.php51
-rw-r--r--tests/includes/functions/FunctionsRtlTest.php19
-rw-r--r--tests/includes/functions/FunctionsTest.php35
-rw-r--r--tests/modules_v3/batch_update/plugins/DeathYBuPluginTest.php37
-rw-r--r--tests/modules_v3/batch_update/plugins/DuplicateLinksBuPluginTest.php37
-rw-r--r--tests/modules_v3/batch_update/plugins/MarriedNamesBuPluginTest.php37
-rw-r--r--tests/modules_v3/batch_update/plugins/NameFormatBuPluginTest.php37
-rw-r--r--tests/modules_v3/batch_update/plugins/SearchReplaceBuPluginTest.php37
163 files changed, 303 insertions, 958 deletions
diff --git a/tests/app/AuthTest.php b/tests/app/AuthTest.php
index c82c4ec1d9..090d7bf04b 100644
--- a/tests/app/AuthTest.php
+++ b/tests/app/AuthTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Auth
*/
@@ -32,6 +29,6 @@ class AuthTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Auth'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Auth'));
}
}
diff --git a/tests/app/Controller/AdvancedSearchControllerTest.php b/tests/app/Controller/AdvancedSearchControllerTest.php
index ba8b7e55eb..15e2a52d8e 100644
--- a/tests/app/Controller/AdvancedSearchControllerTest.php
+++ b/tests/app/Controller/AdvancedSearchControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class AdvancedSearchController
*/
@@ -32,6 +29,6 @@ class AdvancedSearchControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\AdvancedSearchController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\AdvancedSearchController'));
}
}
diff --git a/tests/app/Controller/AjaxControllerTest.php b/tests/app/Controller/AjaxControllerTest.php
index f981a6271d..edff609b94 100644
--- a/tests/app/Controller/AjaxControllerTest.php
+++ b/tests/app/Controller/AjaxControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class AjaxController
*/
@@ -32,6 +29,6 @@ class AjaxControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\AjaxController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\AjaxController'));
}
}
diff --git a/tests/app/Controller/AncestryControllerTest.php b/tests/app/Controller/AncestryControllerTest.php
index 76d24b05bd..a1b73fe158 100644
--- a/tests/app/Controller/AncestryControllerTest.php
+++ b/tests/app/Controller/AncestryControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class AncestryController
*/
@@ -32,6 +29,6 @@ class AncestryControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\AncestryController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\AncestryController'));
}
}
diff --git a/tests/app/Controller/BaseControllerTest.php b/tests/app/Controller/BaseControllerTest.php
index 9eb444e19a..b874492883 100644
--- a/tests/app/Controller/BaseControllerTest.php
+++ b/tests/app/Controller/BaseControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BaseController
*/
@@ -32,6 +29,6 @@ class BaseControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BaseController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\BaseController'));
}
}
diff --git a/tests/app/Controller/BranchesControllerTest.php b/tests/app/Controller/BranchesControllerTest.php
index 896636f86b..73c42489d1 100644
--- a/tests/app/Controller/BranchesControllerTest.php
+++ b/tests/app/Controller/BranchesControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BranchesController
*/
@@ -31,6 +28,6 @@ class BranchesControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BranchesController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\BranchesController'));
}
}
diff --git a/tests/app/Controller/ChartControllerTest.php b/tests/app/Controller/ChartControllerTest.php
index c8d2bebd12..ef4e61e473 100644
--- a/tests/app/Controller/ChartControllerTest.php
+++ b/tests/app/Controller/ChartControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ChartController
*/
@@ -32,6 +29,6 @@ class ChartControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ChartController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\ChartController'));
}
}
diff --git a/tests/app/Controller/CompactControllerTest.php b/tests/app/Controller/CompactControllerTest.php
index f8fc202a1c..952fbffad8 100644
--- a/tests/app/Controller/CompactControllerTest.php
+++ b/tests/app/Controller/CompactControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class CompactController
*/
@@ -32,6 +29,6 @@ class CompactControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\CompactController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\CompactController'));
}
}
diff --git a/tests/app/Controller/DescendancyControllerTest.php b/tests/app/Controller/DescendancyControllerTest.php
index 7446b7a33b..d4a56d5cf4 100644
--- a/tests/app/Controller/DescendancyControllerTest.php
+++ b/tests/app/Controller/DescendancyControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class DescendancyController
*/
@@ -32,6 +29,6 @@ class DescendancyControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\DescendancyController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\DescendancyController'));
}
}
diff --git a/tests/app/Controller/FamilyControllerTest.php b/tests/app/Controller/FamilyControllerTest.php
index 19f7cba48f..d4e2fb1365 100644
--- a/tests/app/Controller/FamilyControllerTest.php
+++ b/tests/app/Controller/FamilyControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyController
*/
@@ -33,6 +30,6 @@ class FamilyControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\FamilyController'));
}
}
diff --git a/tests/app/Controller/FamilybookControllerTest.php b/tests/app/Controller/FamilybookControllerTest.php
index f5c7326ddd..1e6d9b104c 100644
--- a/tests/app/Controller/FamilybookControllerTest.php
+++ b/tests/app/Controller/FamilybookControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyBookController
*/
@@ -32,6 +29,6 @@ class FamilybookControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyBookController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\FamilyBookController'));
}
}
diff --git a/tests/app/Controller/FanchartControllerTest.php b/tests/app/Controller/FanchartControllerTest.php
index e6561a4bb0..c5a019a671 100644
--- a/tests/app/Controller/FanchartControllerTest.php
+++ b/tests/app/Controller/FanchartControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FanchartController
*/
@@ -32,6 +29,6 @@ class FanchartControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FanchartController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\FanchartController'));
}
}
diff --git a/tests/app/Controller/GedcomRecordControllerTest.php b/tests/app/Controller/GedcomRecordControllerTest.php
index 121764d280..a40f19212d 100644
--- a/tests/app/Controller/GedcomRecordControllerTest.php
+++ b/tests/app/Controller/GedcomRecordControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomRecordController
*/
@@ -32,6 +29,6 @@ class GedcomRecordControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomRecordController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\GedcomRecordController'));
}
}
diff --git a/tests/app/Controller/HourglassControllerTest.php b/tests/app/Controller/HourglassControllerTest.php
index 345d85b4ff..e42c8ae2ba 100644
--- a/tests/app/Controller/HourglassControllerTest.php
+++ b/tests/app/Controller/HourglassControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class HourglassController
*/
@@ -32,6 +29,6 @@ class HourglassControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\HourglassController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\HourglassController'));
}
}
diff --git a/tests/app/Controller/IndividualControllerTest.php b/tests/app/Controller/IndividualControllerTest.php
index 3d9144e3cf..ec56658326 100644
--- a/tests/app/Controller/IndividualControllerTest.php
+++ b/tests/app/Controller/IndividualControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class IndividualController
*/
@@ -33,6 +30,6 @@ class IndividualControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\IndividualController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\IndividualController'));
}
}
diff --git a/tests/app/Controller/LifespanControllerTest.php b/tests/app/Controller/LifespanControllerTest.php
index 24d9b63b49..39844f29f6 100644
--- a/tests/app/Controller/LifespanControllerTest.php
+++ b/tests/app/Controller/LifespanControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class LifespanController
*/
@@ -32,6 +29,6 @@ class LifespanControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\LifespanController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\LifespanController'));
}
}
diff --git a/tests/app/Controller/MediaControllerTest.php b/tests/app/Controller/MediaControllerTest.php
index e1528b2ae0..84a185cc96 100644
--- a/tests/app/Controller/MediaControllerTest.php
+++ b/tests/app/Controller/MediaControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class MediaController
*/
@@ -33,6 +30,6 @@ class MediaControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\MediaController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\MediaController'));
}
}
diff --git a/tests/app/Controller/NoteControllerTest.php b/tests/app/Controller/NoteControllerTest.php
index e0bb7250eb..6721caed8d 100644
--- a/tests/app/Controller/NoteControllerTest.php
+++ b/tests/app/Controller/NoteControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class NoteController
*/
@@ -33,6 +30,6 @@ class NoteControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\NoteController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\NoteController'));
}
}
diff --git a/tests/app/Controller/PageControllerTest.php b/tests/app/Controller/PageControllerTest.php
index 8e1918fd3c..0f63a2f32b 100644
--- a/tests/app/Controller/PageControllerTest.php
+++ b/tests/app/Controller/PageControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class PageController
*/
@@ -32,6 +29,6 @@ class PageControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\PageController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\PageController'));
}
}
diff --git a/tests/app/Controller/PedigreeControllerTest.php b/tests/app/Controller/PedigreeControllerTest.php
index 180c76d329..eb59f4c245 100644
--- a/tests/app/Controller/PedigreeControllerTest.php
+++ b/tests/app/Controller/PedigreeControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class PedigreeController
*/
@@ -32,6 +29,6 @@ class PedigreeControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\PedigreeController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\PedigreeController'));
}
}
diff --git a/tests/app/Controller/RepositoryControllerTest.php b/tests/app/Controller/RepositoryControllerTest.php
index 2074f81d47..2454155fd1 100644
--- a/tests/app/Controller/RepositoryControllerTest.php
+++ b/tests/app/Controller/RepositoryControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class RepositoryController
*/
@@ -33,6 +30,6 @@ class RepositoryControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\RepositoryController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\RepositoryController'));
}
}
diff --git a/tests/app/Controller/SearchControllerTest.php b/tests/app/Controller/SearchControllerTest.php
index bfda39b93e..64cbd2fddc 100644
--- a/tests/app/Controller/SearchControllerTest.php
+++ b/tests/app/Controller/SearchControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SearchController
*/
@@ -32,6 +29,6 @@ class SearchControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SearchController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\SearchController'));
}
}
diff --git a/tests/app/Controller/SimpleControllerTest.php b/tests/app/Controller/SimpleControllerTest.php
index 6f45efc449..04f144819a 100644
--- a/tests/app/Controller/SimpleControllerTest.php
+++ b/tests/app/Controller/SimpleControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SimpleController
*/
@@ -32,6 +29,6 @@ class SimpleControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SimpleController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\SimpleController'));
}
}
diff --git a/tests/app/Controller/SourceControllerTest.php b/tests/app/Controller/SourceControllerTest.php
index 6f8680e621..45228ec38e 100644
--- a/tests/app/Controller/SourceControllerTest.php
+++ b/tests/app/Controller/SourceControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SourceController
*/
@@ -33,6 +30,6 @@ class SourceControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SourceController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\SourceController'));
}
}
diff --git a/tests/app/Controller/TimelineControllerTest.php b/tests/app/Controller/TimelineControllerTest.php
index e112c6dd19..f5d2016c68 100644
--- a/tests/app/Controller/TimelineControllerTest.php
+++ b/tests/app/Controller/TimelineControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class TimelineController
*/
@@ -32,6 +29,6 @@ class TimelineControllerTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\TimelineController'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Controller\TimelineController'));
}
}
diff --git a/tests/app/DatabaseTest.php b/tests/app/DatabaseTest.php
index 9b89c08828..ddc9b05ac4 100644
--- a/tests/app/DatabaseTest.php
+++ b/tests/app/DatabaseTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Statement
*/
@@ -32,6 +29,6 @@ class DatabaseTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Database'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Database'));
}
}
diff --git a/tests/app/Date/CalendarDateTest.php b/tests/app/Date/CalendarDateTest.php
index 754d090717..b2d9dec928 100644
--- a/tests/app/Date/CalendarDateTest.php
+++ b/tests/app/Date/CalendarDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class CalendarDate
*/
@@ -32,6 +29,6 @@ class CalendarDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\CalendarDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\CalendarDate'));
}
}
diff --git a/tests/app/Date/FrenchDateTest.php b/tests/app/Date/FrenchDateTest.php
index 935decbeff..8c1e025500 100644
--- a/tests/app/Date/FrenchDateTest.php
+++ b/tests/app/Date/FrenchDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FrenchDate
*/
@@ -32,6 +29,6 @@ class FrenchDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FrenchDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\FrenchDate'));
}
}
diff --git a/tests/app/Date/GregorianDateTest.php b/tests/app/Date/GregorianDateTest.php
index ffeecbfc40..f5a22f4960 100644
--- a/tests/app/Date/GregorianDateTest.php
+++ b/tests/app/Date/GregorianDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GregorianDate
*/
@@ -32,6 +29,6 @@ class GregorianDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GregorianDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\GregorianDate'));
}
}
diff --git a/tests/app/Date/HijriDateTest.php b/tests/app/Date/HijriDateTest.php
index b8836f1507..6e5585f1ca 100644
--- a/tests/app/Date/HijriDateTest.php
+++ b/tests/app/Date/HijriDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class \HijriDate
*/
@@ -32,6 +29,6 @@ class HijriDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\HijriDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\HijriDate'));
}
}
diff --git a/tests/app/Date/JalaliDateTest.php b/tests/app/Date/JalaliDateTest.php
index 56f6c927c4..57be56d60d 100644
--- a/tests/app/Date/JalaliDateTest.php
+++ b/tests/app/Date/JalaliDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class JalaliDate
*/
@@ -32,6 +29,6 @@ class JalaliDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\JalaliDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\JalaliDate'));
}
}
diff --git a/tests/app/Date/JewishDateTest.php b/tests/app/Date/JewishDateTest.php
index 655b3c3770..c73facc8a1 100644
--- a/tests/app/Date/JewishDateTest.php
+++ b/tests/app/Date/JewishDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class JewishDate
*/
@@ -32,6 +29,6 @@ class JewishDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\JewishDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\JewishDate'));
}
}
diff --git a/tests/app/Date/JulianDateTest.php b/tests/app/Date/JulianDateTest.php
index 6de50652ce..fb22090121 100644
--- a/tests/app/Date/JulianDateTest.php
+++ b/tests/app/Date/JulianDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class JulianDate
*/
@@ -32,6 +29,6 @@ class JulianDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\JulianDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\JulianDate'));
}
}
diff --git a/tests/app/Date/RomanDateTest.php b/tests/app/Date/RomanDateTest.php
index a883f647c5..ada0d0183e 100644
--- a/tests/app/Date/RomanDateTest.php
+++ b/tests/app/Date/RomanDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class RomanDate
*/
@@ -32,6 +29,6 @@ class RomanDateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\RomanDate'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date\RomanDate'));
}
}
diff --git a/tests/app/DateTest.php b/tests/app/DateTest.php
index e15599bbbd..9025c96ea7 100644
--- a/tests/app/DateTest.php
+++ b/tests/app/DateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Date
*/
@@ -32,6 +29,6 @@ class DateTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Date'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Date'));
}
}
diff --git a/tests/app/FactTest.php b/tests/app/FactTest.php
index 481a2e1308..429a8938ab 100644
--- a/tests/app/FactTest.php
+++ b/tests/app/FactTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Fact
*/
@@ -32,6 +29,6 @@ class FactTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Fact'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Fact'));
}
}
diff --git a/tests/app/FamilyTest.php b/tests/app/FamilyTest.php
index 42b31dfd12..b3e6182bef 100644
--- a/tests/app/FamilyTest.php
+++ b/tests/app/FamilyTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Family
*/
@@ -32,6 +29,6 @@ class FamilyTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Family'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Family'));
}
}
diff --git a/tests/app/FileTest.php b/tests/app/FileTest.php
index 23c3b684da..c1b658f612 100644
--- a/tests/app/FileTest.php
+++ b/tests/app/FileTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class File
*/
@@ -32,6 +29,6 @@ class FileTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\File'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\File'));
}
}
diff --git a/tests/app/FilterTest.php b/tests/app/FilterTest.php
index a5f67dae0f..f3bd122375 100644
--- a/tests/app/FilterTest.php
+++ b/tests/app/FilterTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Filter
*/
@@ -32,6 +29,6 @@ class FilterTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Filter'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Filter'));
}
}
diff --git a/tests/app/FlashMessagesTest.php b/tests/app/FlashMessagesTest.php
index 434a2f5603..62ad8f4ab8 100644
--- a/tests/app/FlashMessagesTest.php
+++ b/tests/app/FlashMessagesTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FlashMessages
*/
@@ -32,6 +29,6 @@ class FlashMessagesTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FlashMessages'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\FlashMessages'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeAdopTest.php b/tests/app/Gedcom/GedcomCodeAdopTest.php
index 068614ee23..4111448f19 100644
--- a/tests/app/Gedcom/GedcomCodeAdopTest.php
+++ b/tests/app/Gedcom/GedcomCodeAdopTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeAdop
*/
@@ -32,6 +29,6 @@ class GedcomCodeAdopTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodeAdop'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodeAdop'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeNameTest.php b/tests/app/Gedcom/GedcomCodeNameTest.php
index 18f45a1363..97373ff4b1 100644
--- a/tests/app/Gedcom/GedcomCodeNameTest.php
+++ b/tests/app/Gedcom/GedcomCodeNameTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeName
*/
@@ -32,6 +29,6 @@ class GedcomCodeNameTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodePedi'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodePedi'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodePediTest.php b/tests/app/Gedcom/GedcomCodePediTest.php
index a6d51e9c34..7640abe01b 100644
--- a/tests/app/Gedcom/GedcomCodePediTest.php
+++ b/tests/app/Gedcom/GedcomCodePediTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodePedi
*/
@@ -32,6 +29,6 @@ class GedcomCodePediTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodePedi'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodePedi'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeQuayTest.php b/tests/app/Gedcom/GedcomCodeQuayTest.php
index e3790f6dfb..c11b3f1fa0 100644
--- a/tests/app/Gedcom/GedcomCodeQuayTest.php
+++ b/tests/app/Gedcom/GedcomCodeQuayTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeQuay
*/
@@ -32,6 +29,6 @@ class GedcomCodeQuayTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodeQuay'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodeQuay'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeRelaTest.php b/tests/app/Gedcom/GedcomCodeRelaTest.php
index d41cfa05fd..899c1061dc 100644
--- a/tests/app/Gedcom/GedcomCodeRelaTest.php
+++ b/tests/app/Gedcom/GedcomCodeRelaTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeRela
*/
@@ -32,6 +29,6 @@ class GedcomCodeRelaTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodeRela'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodeRela'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeStatTest.php b/tests/app/Gedcom/GedcomCodeStatTest.php
index b55dafc6d1..89d39e48d9 100644
--- a/tests/app/Gedcom/GedcomCodeStatTest.php
+++ b/tests/app/Gedcom/GedcomCodeStatTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeStat
*/
@@ -32,6 +29,6 @@ class GedcomCodeStatTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodeStat'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodeStat'));
}
}
diff --git a/tests/app/Gedcom/GedcomCodeTempTest.php b/tests/app/Gedcom/GedcomCodeTempTest.php
index a76c57341d..4ceb9bee08 100644
--- a/tests/app/Gedcom/GedcomCodeTempTest.php
+++ b/tests/app/Gedcom/GedcomCodeTempTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomCodeTemp
*/
@@ -32,6 +29,6 @@ class GedcomCodeTempTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomCodeTemp'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomCode\GedcomCodeTemp'));
}
}
diff --git a/tests/app/GedcomRecordTest.php b/tests/app/GedcomRecordTest.php
index 63bb057a1d..46456e1586 100644
--- a/tests/app/GedcomRecordTest.php
+++ b/tests/app/GedcomRecordTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomRecord
*/
@@ -33,6 +30,6 @@ class GedcomRecordTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomRecord'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomRecord'));
}
}
diff --git a/tests/app/Gedcom/GedcomTagTest.php b/tests/app/GedcomTagTest.php
index 80f6443863..80693caa13 100644
--- a/tests/app/Gedcom/GedcomTagTest.php
+++ b/tests/app/GedcomTagTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GedcomTag
*/
@@ -32,6 +29,6 @@ class GedcomTagTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GedcomTag'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\GedcomTag'));
}
}
diff --git a/tests/app/I18NTest.php b/tests/app/I18NTest.php
index ba99484c3a..e058d48342 100644
--- a/tests/app/I18NTest.php
+++ b/tests/app/I18NTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,7 +15,7 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
+use Fisharebest\Webtrees\I18N;
/**
* Test harness for the class I18N
diff --git a/tests/app/IndividualTest.php b/tests/app/IndividualTest.php
index 9e5439a580..bcb1bb4f16 100644
--- a/tests/app/IndividualTest.php
+++ b/tests/app/IndividualTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Individual
*/
@@ -32,6 +29,6 @@ class IndividualTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Individual'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Individual'));
}
}
diff --git a/tests/app/LogTest.php b/tests/app/LogTest.php
index b7cbeb97bd..0c3a999472 100644
--- a/tests/app/LogTest.php
+++ b/tests/app/LogTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class WT_Log
*/
@@ -32,6 +29,6 @@ class LogTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Log'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Log'));
}
}
diff --git a/tests/app/MailTest.php b/tests/app/MailTest.php
index aa70712d14..c883f2f7a3 100644
--- a/tests/app/MailTest.php
+++ b/tests/app/MailTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Mail
*/
@@ -32,6 +29,6 @@ class MailTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Mail'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Mail'));
}
}
diff --git a/tests/app/MediaTest.php b/tests/app/MediaTest.php
index c6696e2fb7..5228335946 100644
--- a/tests/app/MediaTest.php
+++ b/tests/app/MediaTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Media
*/
@@ -32,6 +29,6 @@ class MediaTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Media'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Media'));
}
}
diff --git a/tests/app/MenuTest.php b/tests/app/MenuTest.php
index e85510bd9b..58d712e4ec 100644
--- a/tests/app/MenuTest.php
+++ b/tests/app/MenuTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,7 +15,7 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
+use Fisharebest\Webtrees\Menu;
/**
* Test harness for the class Menu
diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php
index bef6c09695..b6c2f6f8f7 100644
--- a/tests/app/Module/AhnentafelReportModuleTest.php
+++ b/tests/app/Module/AhnentafelReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class AhnentafelReportModule
*/
@@ -32,6 +29,6 @@ class AhnentafelReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\AhnentafelReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\AhnentafelReportModule'));
}
}
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php
index b16f19ff55..7ea884f68e 100644
--- a/tests/app/Module/AlbumModuleTest.php
+++ b/tests/app/Module/AlbumModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class AlbumModule
*/
@@ -32,6 +29,6 @@ class AlbumModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\AlbumModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\AlbumModule'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
index dd5b9aaf95..5e2a21f5a4 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateBasePlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateBasePluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateBasePlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateBasePlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
index 3091bd4bb8..e24a752589 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateDuplicateLinksPlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateDuplicateLinksPluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateDuplicateLinksPlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateDuplicateLinksPlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
index 33dfb56456..6ed7da37c7 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateMarriedNamesPlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateMarriedNamesPluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateMarriedNamesPlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateMarriedNamesPlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
index 8420878b2c..26988646dc 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateMissingDeathPlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateMissingDeathPluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateMissingDeathPlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateMissingDeathPlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
index 6d72099493..27624e0e64 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateNameFormatPlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateNameFormatPluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateNameFormatPlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateNameFormatPlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
index 3c11cae7f8..2a99cea59b 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateSearchReplacePlugin
*/
@@ -32,6 +29,6 @@ class BatchUpdateSearchReplacePluginTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateSearchReplacePlugin'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdate\BatchUpdateSearchReplacePlugin'));
}
}
diff --git a/tests/app/Module/BatchUpdateModuleTest.php b/tests/app/Module/BatchUpdateModuleTest.php
index eef26f0109..4860800d9b 100644
--- a/tests/app/Module/BatchUpdateModuleTest.php
+++ b/tests/app/Module/BatchUpdateModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BatchUpdateModule
*/
@@ -32,6 +29,6 @@ class BatchUpdateModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BatchUpdateModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BatchUpdateModule'));
}
}
diff --git a/tests/app/Module/BatchUpdate/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
index 15032f702c..d25d067586 100644
--- a/tests/app/Module/BatchUpdate/BirthDeathMarriageReportModuleTest.php
+++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BirthDeathMarriageReportModule
*/
@@ -32,6 +29,6 @@ class BirthDeathMarriageReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BirthDeathMarriageReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BirthDeathMarriageReportModule'));
}
}
diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php
index d89b10680a..660684e99e 100644
--- a/tests/app/Module/BirthReportModuleTest.php
+++ b/tests/app/Module/BirthReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class BirthReportModule
*/
@@ -32,6 +29,6 @@ class BirthReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\BirthReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\BirthReportModule'));
}
}
diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php
index f817f4fe62..15f5ee0c45 100644
--- a/tests/app/Module/CemeteryReportModuleTest.php
+++ b/tests/app/Module/CemeteryReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class CemeteryReportModule
*/
@@ -32,6 +29,6 @@ class CemeteryReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\CemeteryReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\CemeteryReportModule'));
}
}
diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php
index 3fe6469a36..7ac3d9edb3 100644
--- a/tests/app/Module/CensusAssistantModuleTest.php
+++ b/tests/app/Module/CensusAssistantModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class CensusAssistantModule
*/
@@ -32,6 +29,6 @@ class CensusAssistantModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\CensusAssistantModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\CensusAssistantModule'));
}
}
diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php
index d1c58aa56e..ea6e9ef92d 100644
--- a/tests/app/Module/ChangeReportModuleTest.php
+++ b/tests/app/Module/ChangeReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ChangeReportModule
*/
@@ -32,6 +29,6 @@ class ChangeReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ChangeReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ChangeReportModule'));
}
}
diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php
index ca80a438c1..0edadd0aa9 100644
--- a/tests/app/Module/ChartsBlockModuleTest.php
+++ b/tests/app/Module/ChartsBlockModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ChartsBlockModule
*/
@@ -32,6 +29,6 @@ class ChartsBlockModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ChartsBlockModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ChartsBlockModule'));
}
}
diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php
index 1cef3402f4..3366a0b364 100644
--- a/tests/app/Module/CkeditorModuleTest.php
+++ b/tests/app/Module/CkeditorModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class CkeditorModule
*/
@@ -32,6 +29,6 @@ class CkeditorModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\CkeditorModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\CkeditorModule'));
}
}
diff --git a/tests/app/Module/ClippingsCart/ClippingsCartTest.php b/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php
index 83835a3146..ced778f195 100644
--- a/tests/app/Module/ClippingsCart/ClippingsCartTest.php
+++ b/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,12 +15,10 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
- * Test harness for the class ClippingsCart
+ * Test harness for the class ClippingsCartController
*/
-class ClippingsCartTest extends PHPUnit_Framework_TestCase {
+class ClippingsCartControllerTest extends PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
@@ -32,6 +29,6 @@ class ClippingsCartTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ClippingsCart'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ClippingsCart\ClippingsCartController'));
}
}
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
index 316427827a..97f4418d8d 100644
--- a/tests/app/Module/ClippingsCartModuleTest.php
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ClippingsCartModule
*/
@@ -32,6 +29,6 @@ class ClippingsCartModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ClippingsCartModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ClippingsCartModule'));
}
}
diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php
index e04eff93a4..7e2256a8f6 100644
--- a/tests/app/Module/DeathReportModuleTest.php
+++ b/tests/app/Module/DeathReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class DeathReportModule
*/
@@ -32,6 +29,6 @@ class DeathReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\DeathReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\DeathReportModule'));
}
}
diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php
index 252f4a3617..6f6ea16274 100644
--- a/tests/app/Module/DescendancyModuleTest.php
+++ b/tests/app/Module/DescendancyModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class DescendancyModule
*/
@@ -32,6 +29,6 @@ class DescendancyModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\DescendancyModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\DescendancyModule'));
}
}
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php
index 58b68ab758..5794daced4 100644
--- a/tests/app/Module/DescendancyReportModuleTest.php
+++ b/tests/app/Module/DescendancyReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class DescendancyReportModule
*/
@@ -32,6 +29,6 @@ class DescendancyReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\DescendancyReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\DescendancyReportModule'));
}
}
diff --git a/tests/app/Module/ExtraInformationModuleTest.php b/tests/app/Module/ExtraInformationModuleTest.php
index 533825d9a2..d915452c50 100644
--- a/tests/app/Module/ExtraInformationModuleTest.php
+++ b/tests/app/Module/ExtraInformationModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ExtraInformationModule
*/
@@ -32,6 +29,6 @@ class ExtraInformationModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ExtraInformationModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ExtraInformationModule'));
}
}
diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php
index 4d87f901a2..6b1bf88dcb 100644
--- a/tests/app/Module/FactSourcesReportModuleTest.php
+++ b/tests/app/Module/FactSourcesReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FactSourcesReportModule
*/
@@ -32,6 +29,6 @@ class FactSourcesReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FactSourcesReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FactSourcesReportModule'));
}
}
diff --git a/tests/app/Module/FamiliesSidebarModuleTest.php b/tests/app/Module/FamiliesSidebarModuleTest.php
index 2c163a2b8e..14b5fa0d03 100644
--- a/tests/app/Module/FamiliesSidebarModuleTest.php
+++ b/tests/app/Module/FamiliesSidebarModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamiliesSidebarModule
*/
@@ -32,6 +29,6 @@ class FamiliesSidebarModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamiliesSidebarModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamiliesSidebarModule'));
}
}
diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php
index bde467a611..21b0a30b5b 100644
--- a/tests/app/Module/FamilyGroupReportModuleTest.php
+++ b/tests/app/Module/FamilyGroupReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyGroupReportModule
*/
@@ -32,6 +29,6 @@ class FamilyGroupReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyGroupReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamilyGroupReportModule'));
}
}
diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php
index 5ba0073386..ee2cdc69b5 100644
--- a/tests/app/Module/FamilyNavigatorModuleTest.php
+++ b/tests/app/Module/FamilyNavigatorModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyNavigatorModule
*/
@@ -32,6 +29,6 @@ class FamilyNavigatorModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyNavigatorModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamilyNavigatorModule'));
}
}
diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
index 27c128b121..74a1f074f2 100644
--- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php
+++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyTreeFavoritesModule
*/
@@ -32,6 +29,6 @@ class FamilyTreeFavoritesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyTreeFavoritesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamilyTreeFavoritesModule'));
}
}
diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php
index bf60846801..a211d806f9 100644
--- a/tests/app/Module/FamilyTreeNewsModuleTest.php
+++ b/tests/app/Module/FamilyTreeNewsModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyTreeNewsModule
*/
@@ -32,6 +29,6 @@ class FamilyTreeNewsModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyTreeNewsModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamilyTreeNewsModule'));
}
}
diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
index 5efd0c1d43..0774c406ef 100644
--- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php
+++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FamilyTreeStatisticsModule
*/
@@ -32,6 +29,6 @@ class FamilyTreeStatisticsModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FamilyTreeStatisticsModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FamilyTreeStatisticsModule'));
}
}
diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
index 0aa0b97cfb..e14a8bca92 100644
--- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
+++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class FrequentlyAskedQuestionsModule
*/
@@ -32,6 +29,6 @@ class FrequentlyAskedQuestionsModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\FrequentlyAskedQuestionsModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\FrequentlyAskedQuestionsModule'));
}
}
diff --git a/tests/app/Module/GoogleMapsModuleTest.php b/tests/app/Module/GoogleMapsModuleTest.php
index acddaa3f72..9715af17cd 100644
--- a/tests/app/Module/GoogleMapsModuleTest.php
+++ b/tests/app/Module/GoogleMapsModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class GoogleMapsModule
*/
@@ -32,6 +29,6 @@ class GoogleMapsModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\GoogleMapsModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\GoogleMapsModule'));
}
}
diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php
index 37af7e5d71..deb3296c70 100644
--- a/tests/app/Module/HtmlBlockModuleTest.php
+++ b/tests/app/Module/HtmlBlockModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class HtmlBlockModule
*/
@@ -32,6 +29,6 @@ class HtmlBlockModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\HtmlBlockModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\HtmlBlockModule'));
}
}
diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php
index 7f11370cfb..6137503d18 100644
--- a/tests/app/Module/IndividualFactsTabModuleTest.php
+++ b/tests/app/Module/IndividualFactsTabModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class IndividualFactsTabModule
*/
@@ -32,6 +29,6 @@ class IndividualFactsTabModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\IndividualFactsTabModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\IndividualFactsTabModule'));
}
}
diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php
index ed1f62ac32..f4e975d86e 100644
--- a/tests/app/Module/IndividualFamiliesReportModuleTest.php
+++ b/tests/app/Module/IndividualFamiliesReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class IndividualFamiliesReportModule
*/
@@ -32,6 +29,6 @@ class IndividualFamiliesReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\IndividualFamiliesReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\IndividualFamiliesReportModule'));
}
}
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php
index 5200140c80..4460a3dba5 100644
--- a/tests/app/Module/IndividualReportModuleTest.php
+++ b/tests/app/Module/IndividualReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class IndividualReportModule
*/
@@ -32,6 +29,6 @@ class IndividualReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\IndividualReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\IndividualReportModule'));
}
}
diff --git a/tests/app/Module/IndividualSidebarModuleTest.php b/tests/app/Module/IndividualSidebarModuleTest.php
index eb20862f7f..715f585603 100644
--- a/tests/app/Module/IndividualSidebarModuleTest.php
+++ b/tests/app/Module/IndividualSidebarModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class IndividualSidebarModule
*/
@@ -32,6 +29,6 @@ class IndividualSidebarModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\IndividualSidebarModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\IndividualSidebarModule'));
}
}
diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php
index 6dd11d085c..7646ff3e55 100644
--- a/tests/app/Module/InteractiveTree/TreeViewTest.php
+++ b/tests/app/Module/InteractiveTree/TreeViewTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class TreeView
*/
@@ -32,6 +29,6 @@ class TreeViewTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\TreeView'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\InteractiveTree\TreeView'));
}
}
diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php
index d978928479..5dbbb791f5 100644
--- a/tests/app/Module/InteractiveTreeModuleTest.php
+++ b/tests/app/Module/InteractiveTreeModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class InteractiveTreeModule
*/
@@ -32,6 +29,6 @@ class InteractiveTreeModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\InteractiveTreeModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\InteractiveTreeModule'));
}
}
diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php
index e378c5c754..13feec5f0e 100644
--- a/tests/app/Module/LoggedInUsersModuleTest.php
+++ b/tests/app/Module/LoggedInUsersModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class LoggedInUsersModule
*/
@@ -32,6 +29,6 @@ class LoggedInUsersModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\LoggedInUsersModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\LoggedInUsersModule'));
}
}
diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php
index c50ab3d8d0..b52241a9d4 100644
--- a/tests/app/Module/MarriageReportModuleTest.php
+++ b/tests/app/Module/MarriageReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class MarriageReportModule
*/
@@ -32,6 +29,6 @@ class MarriageReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\MarriageReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\MarriageReportModule'));
}
}
diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php
index 2d28e7877b..6025e21d73 100644
--- a/tests/app/Module/MediaTabModuleTest.php
+++ b/tests/app/Module/MediaTabModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class MediaTabModule
*/
@@ -32,6 +29,6 @@ class MediaTabModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\MediaTabModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\MediaTabModule'));
}
}
diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php
index 98d7067b82..1410184844 100644
--- a/tests/app/Module/MissingFactsReportModuleTest.php
+++ b/tests/app/Module/MissingFactsReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class MissingFactsReportModule
*/
@@ -32,6 +29,6 @@ class MissingFactsReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\MissingFactsReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\MissingFactsReportModule'));
}
}
diff --git a/tests/app/Module/ModuleBlockInterfaceTest.php b/tests/app/Module/ModuleBlockInterfaceTest.php
index bff2d7a7f3..1a0004a531 100644
--- a/tests/app/Module/ModuleBlockInterfaceTest.php
+++ b/tests/app/Module/ModuleBlockInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleBlockInterface
*/
@@ -32,6 +29,6 @@ class ModuleBlockInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleBlockInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleBlockInterface'));
}
}
diff --git a/tests/app/Module/ModuleChartInterfaceTest.php b/tests/app/Module/ModuleChartInterfaceTest.php
index fafba3d7c0..2024fe9b1f 100644
--- a/tests/app/Module/ModuleChartInterfaceTest.php
+++ b/tests/app/Module/ModuleChartInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleChartInterface
*/
@@ -32,6 +29,6 @@ class ModuleChartInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleChartInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleChartInterface'));
}
}
diff --git a/tests/app/Module/ModuleConfigInterfaceTest.php b/tests/app/Module/ModuleConfigInterfaceTest.php
index 2f9e84e09b..e1a464cc68 100644
--- a/tests/app/Module/ModuleConfigInterfaceTest.php
+++ b/tests/app/Module/ModuleConfigInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleConfigInterface
*/
@@ -32,6 +29,6 @@ class ModuleConfigInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleConfigInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleConfigInterface'));
}
}
diff --git a/tests/app/Module/ModuleMenuInterfaceTest.php b/tests/app/Module/ModuleMenuInterfaceTest.php
index 28dc37393e..be1c833247 100644
--- a/tests/app/Module/ModuleMenuInterfaceTest.php
+++ b/tests/app/Module/ModuleMenuInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleMenuInterface
*/
@@ -32,6 +29,6 @@ class ModuleMenuInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleMenuInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleMenuInterface'));
}
}
diff --git a/tests/app/Module/ModuleReportInterfaceTest.php b/tests/app/Module/ModuleReportInterfaceTest.php
index eb0655d0b9..a1171fc4f1 100644
--- a/tests/app/Module/ModuleReportInterfaceTest.php
+++ b/tests/app/Module/ModuleReportInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleReportInterface
*/
@@ -32,6 +29,6 @@ class ModuleReportInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleReportInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleReportInterface'));
}
}
diff --git a/tests/app/Module/ModuleSidebarInterfaceTest.php b/tests/app/Module/ModuleSidebarInterfaceTest.php
index 49fc8e9179..253bb36a9d 100644
--- a/tests/app/Module/ModuleSidebarInterfaceTest.php
+++ b/tests/app/Module/ModuleSidebarInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleSidebarInterface
*/
@@ -32,6 +29,6 @@ class ModuleSidebarInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleSidebarInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleSidebarInterface'));
}
}
diff --git a/tests/app/Module/ModuleTabInterfaceTest.php b/tests/app/Module/ModuleTabInterfaceTest.php
index d6ed2d3cc4..e54eb86954 100644
--- a/tests/app/Module/ModuleTabInterfaceTest.php
+++ b/tests/app/Module/ModuleTabInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleTabInterface
*/
@@ -32,6 +29,6 @@ class ModuleTabInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleTabInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleTabInterface'));
}
}
diff --git a/tests/app/Module/ModuleThemeInterfaceTest.php b/tests/app/Module/ModuleThemeInterfaceTest.php
index ff9861136e..d8535bfb92 100644
--- a/tests/app/Module/ModuleThemeInterfaceTest.php
+++ b/tests/app/Module/ModuleThemeInterfaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ModuleThemeInterface
*/
@@ -32,6 +29,6 @@ class ModuleThemeInterfaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(interface_exists(__NAMESPACE__ . '\ModuleThemeInterface'));
+ $this->assertTrue(interface_exists('\Fisharebest\Webtrees\Module\ModuleThemeInterface'));
}
}
diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php
index d063480d0b..539b332c47 100644
--- a/tests/app/Module/NotesTabModuleTest.php
+++ b/tests/app/Module/NotesTabModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class NotesTabModule
*/
@@ -32,6 +29,6 @@ class NotesTabModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\NotesTabModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\NotesTabModule'));
}
}
diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php
index e4a9300051..0a1a316e48 100644
--- a/tests/app/Module/OccupationReportModuleTest.php
+++ b/tests/app/Module/OccupationReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class OccupationReportModule
*/
@@ -32,6 +29,6 @@ class OccupationReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\OccupationReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\OccupationReportModule'));
}
}
diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php
index a00c66653c..e3e1038096 100644
--- a/tests/app/Module/OnThisDayModuleTest.php
+++ b/tests/app/Module/OnThisDayModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class OnThisDayModule
*/
@@ -32,6 +29,6 @@ class OnThisDayModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\OnThisDayModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\OnThisDayModule'));
}
}
diff --git a/tests/app/Module/PageMenuModuleTest.php b/tests/app/Module/PageMenuModuleTest.php
index 86635d9e4d..8cd5e941fb 100644
--- a/tests/app/Module/PageMenuModuleTest.php
+++ b/tests/app/Module/PageMenuModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class PageMenuModule
*/
@@ -32,6 +29,6 @@ class PageMenuModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\PageMenuModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\PageMenuModule'));
}
}
diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php
index 7c44440217..d88d2d6b51 100644
--- a/tests/app/Module/PedigreeReportModuleTest.php
+++ b/tests/app/Module/PedigreeReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class PedigreeReportModule
*/
@@ -32,6 +29,6 @@ class PedigreeReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\PedigreeReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\PedigreeReportModule'));
}
}
diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php
index bb49446d66..5ccc6ba8c6 100644
--- a/tests/app/Module/RecentChangesModuleTest.php
+++ b/tests/app/Module/RecentChangesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class RecentChangesModule
*/
@@ -32,6 +29,6 @@ class RecentChangesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\RecentChangesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\RecentChangesModule'));
}
}
diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php
index a6a491e8ff..ea2e866f7a 100644
--- a/tests/app/Module/RelatedIndividualsReportModuleTest.php
+++ b/tests/app/Module/RelatedIndividualsReportModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class RelatedIndividualsReportModule
*/
@@ -32,6 +29,6 @@ class RelatedIndividualsReportModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\RelatedIndividualsReportModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\RelatedIndividualsReportModule'));
}
}
diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php
index b3acc47727..43da392ce4 100644
--- a/tests/app/Module/RelativesTabModuleTest.php
+++ b/tests/app/Module/RelativesTabModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class RelativesTabModule
*/
@@ -32,6 +29,6 @@ class RelativesTabModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\RelativesTabModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\RelativesTabModule'));
}
}
diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php
index f66d670479..cd481c20fb 100644
--- a/tests/app/Module/ResearchTaskModuleTest.php
+++ b/tests/app/Module/ResearchTaskModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ResearchTaskModule
*/
@@ -32,6 +29,6 @@ class ResearchTaskModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ResearchTaskModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ResearchTaskModule'));
}
}
diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php
index f9b05b648c..a440ddc232 100644
--- a/tests/app/Module/ReviewChangesModuleTest.php
+++ b/tests/app/Module/ReviewChangesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ReviewChangesModule
*/
@@ -32,6 +29,6 @@ class ReviewChangesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ReviewChangesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ReviewChangesModule'));
}
}
diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php
index 2429948548..1a06b8cc6d 100644
--- a/tests/app/Module/SiteMapModuleTest.php
+++ b/tests/app/Module/SiteMapModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SiteMapModule
*/
@@ -32,6 +29,6 @@ class SiteMapModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SiteMapModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\SiteMapModule'));
}
}
diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php
index fd136eb0bb..a196d4ac2b 100644
--- a/tests/app/Module/SlideShowModuleTest.php
+++ b/tests/app/Module/SlideShowModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SlideShowModule
*/
@@ -32,6 +29,6 @@ class SlideShowModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SlideShowModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\SlideShowModule'));
}
}
diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php
index e785af9449..804a4edb6e 100644
--- a/tests/app/Module/SourcesTabModuleTest.php
+++ b/tests/app/Module/SourcesTabModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class SourcesTabModule
*/
@@ -32,6 +29,6 @@ class SourcesTabModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\SourcesTabModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\SourcesTabModule'));
}
}
diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php
index ffcccc48d1..10272c492d 100644
--- a/tests/app/Module/StoriesModuleTest.php
+++ b/tests/app/Module/StoriesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class StoriesModule
*/
@@ -32,6 +29,6 @@ class StoriesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\StoriesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\StoriesModule'));
}
}
diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php
index 581a15a7ba..4200c825f2 100644
--- a/tests/app/Module/ThemeSelectModuleTest.php
+++ b/tests/app/Module/ThemeSelectModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ThemeSelectModule
*/
@@ -32,6 +29,6 @@ class ThemeSelectModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ThemeSelectModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\ThemeSelectModule'));
}
}
diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php
index 1bd8b75030..69c599a395 100644
--- a/tests/app/Module/TopGivenNamesModuleTest.php
+++ b/tests/app/Module/TopGivenNamesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class TopGivenNamesModuleModule
*/
@@ -32,6 +29,6 @@ class TopGivenNamesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\TopGivenNamesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\TopGivenNamesModule'));
}
}
diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php
index df192aea03..8ba5318bba 100644
--- a/tests/app/Module/TopPageViewsModuleTest.php
+++ b/tests/app/Module/TopPageViewsModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class TopPageViewsModule
*/
@@ -32,6 +29,6 @@ class TopPageViewsModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\TopPageViewsModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\TopPageViewsModule'));
}
}
diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php
index 0d29310d11..33377295f3 100644
--- a/tests/app/Module/TopSurnamesModuleTest.php
+++ b/tests/app/Module/TopSurnamesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class TopSurnamesModule
*/
@@ -32,6 +29,6 @@ class TopSurnamesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\TopSurnamesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\TopSurnamesModule'));
}
}
diff --git a/tests/app/Module/UpcomingAnniversariesModuleTest.php b/tests/app/Module/UpcomingAnniversariesModuleTest.php
index 1594979d33..4bd355ccfa 100644
--- a/tests/app/Module/UpcomingAnniversariesModuleTest.php
+++ b/tests/app/Module/UpcomingAnniversariesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class UpcomingAnniversariesModule
*/
@@ -32,6 +29,6 @@ class UpcomingAnniversariesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\UpcomingAnniversariesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\UpcomingAnniversariesModule'));
}
}
diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php
index dcd690fdc2..0634c39f25 100644
--- a/tests/app/Module/UserFavoritesModuleTest.php
+++ b/tests/app/Module/UserFavoritesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class UserFavoritesModule
*/
@@ -32,6 +29,6 @@ class UserFavoritesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\UserFavoritesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\UserFavoritesModule'));
}
}
diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php
index 3704c0d581..40172aeb32 100644
--- a/tests/app/Module/UserJournalModuleTest.php
+++ b/tests/app/Module/UserJournalModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class UserJournalModule
*/
@@ -32,6 +29,6 @@ class UserJournalModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\UserJournalModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\UserJournalModule'));
}
}
diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php
index 57f7b99511..e873a67469 100644
--- a/tests/app/Module/UserMessagesModuleTest.php
+++ b/tests/app/Module/UserMessagesModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class UserMessagesModule
*/
@@ -32,6 +29,6 @@ class UserMessagesModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\UserMessagesModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\UserMessagesModule'));
}
}
diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php
index 527ed296a7..5ccc261a62 100644
--- a/tests/app/Module/UserWelcomeModuleTest.php
+++ b/tests/app/Module/UserWelcomeModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class UserWelcomeModule
*/
@@ -32,6 +29,6 @@ class UserWelcomeModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\UserWelcomeModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\UserWelcomeModule'));
}
}
diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php
index 9790ea1aff..0d3eff0748 100644
--- a/tests/app/Module/WelcomeBlockModuleTest.php
+++ b/tests/app/Module/WelcomeBlockModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class WelcomeBlockModule
*/
@@ -32,6 +29,6 @@ class WelcomeBlockModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\WelcomeBlockModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\WelcomeBlockModule'));
}
}
diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php
index e31c89b597..f349cdb4d6 100644
--- a/tests/app/Module/YahrzeitModuleTest.php
+++ b/tests/app/Module/YahrzeitModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class YahrzeitModule
*/
@@ -32,6 +29,6 @@ class YahrzeitModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\YahrzeitModule'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module\YahrzeitModule'));
}
}
diff --git a/tests/app/ModuleTest.php b/tests/app/ModuleTest.php
index 87766e11a5..b9a1943046 100644
--- a/tests/app/ModuleTest.php
+++ b/tests/app/ModuleTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Module
*/
@@ -32,6 +29,6 @@ class ModuleTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Module'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Module'));
}
}
diff --git a/tests/app/NoteTest.php b/tests/app/NoteTest.php
index 5eff0ea80a..80e4b10d99 100644
--- a/tests/app/NoteTest.php
+++ b/tests/app/NoteTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Note
*/
@@ -32,6 +29,6 @@ class NoteTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Note'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Note'));
}
}
diff --git a/tests/app/PlaceTest.php b/tests/app/PlaceTest.php
index 94460a006c..10be986ad1 100644
--- a/tests/app/PlaceTest.php
+++ b/tests/app/PlaceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Place
*/
@@ -32,6 +29,6 @@ class PlaceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Place'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Place'));
}
}
diff --git a/tests/app/Query/QueryMediaTest.php b/tests/app/Query/QueryMediaTest.php
index b8307435f1..15754db82e 100644
--- a/tests/app/Query/QueryMediaTest.php
+++ b/tests/app/Query/QueryMediaTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class QueryMedia
*/
@@ -32,6 +29,6 @@ class QueryMediaTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\QueryMedia'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Query\QueryMedia'));
}
}
diff --git a/tests/app/Query/QueryNameTest.php b/tests/app/Query/QueryNameTest.php
index 87eeaccb90..b53ff09290 100644
--- a/tests/app/Query/QueryNameTest.php
+++ b/tests/app/Query/QueryNameTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class QueryName
*/
@@ -32,6 +29,6 @@ class QueryNameTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\QueryName'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Query\QueryName'));
}
}
diff --git a/tests/app/Report/ReportBaseTest.php b/tests/app/Report/ReportBaseTest.php
index d07cb3a242..5d25fb950f 100644
--- a/tests/app/Report/ReportBaseTest.php
+++ b/tests/app/Report/ReportBaseTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ReportBase
*/
@@ -32,6 +29,6 @@ class ReportBaseTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ReportBase'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Report\ReportBase'));
}
}
diff --git a/tests/app/Report/ReportHTMLTest.php b/tests/app/Report/ReportHTMLTest.php
index 6c16e02d48..0d2eb49e6e 100644
--- a/tests/app/Report/ReportHTMLTest.php
+++ b/tests/app/Report/ReportHTMLTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ReportHtml
*/
@@ -32,6 +29,6 @@ class ReportHTMLTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ReportHtml'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Report\ReportHtml'));
}
}
diff --git a/tests/app/Report/ReportPDFTest.php b/tests/app/Report/ReportPDFTest.php
index 7784bd7e71..14de0fbd38 100644
--- a/tests/app/Report/ReportPDFTest.php
+++ b/tests/app/Report/ReportPDFTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class ReportPdf
*/
@@ -32,6 +29,6 @@ class ReportPDFTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\ReportPdf'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Report\ReportPdf'));
}
}
diff --git a/tests/app/RepositoryTest.php b/tests/app/RepositoryTest.php
index 79d5abcbf1..5e96ae5790 100644
--- a/tests/app/RepositoryTest.php
+++ b/tests/app/RepositoryTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Repository
*/
@@ -32,6 +29,6 @@ class RepositoryTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Repository'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Repository'));
}
}
diff --git a/tests/app/SiteTest.php b/tests/app/SiteTest.php
index c6aa4294d8..d01a8fd970 100644
--- a/tests/app/SiteTest.php
+++ b/tests/app/SiteTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Site
*/
@@ -32,6 +29,6 @@ class SiteTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Site'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Site'));
}
}
diff --git a/tests/app/SoundexTest.php b/tests/app/SoundexTest.php
index 640537578e..79d5212daa 100644
--- a/tests/app/SoundexTest.php
+++ b/tests/app/SoundexTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Soundex
*/
@@ -32,6 +29,6 @@ class SoundexTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Soundex'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Soundex'));
}
}
diff --git a/tests/app/SourceTest.php b/tests/app/SourceTest.php
index 724917464d..b46c039253 100644
--- a/tests/app/SourceTest.php
+++ b/tests/app/SourceTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Source
*/
@@ -32,6 +29,6 @@ class SourceTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Source'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Source'));
}
}
diff --git a/tests/app/StatementTest.php b/tests/app/StatementTest.php
index 7068603d35..8234c3c1e4 100644
--- a/tests/app/StatementTest.php
+++ b/tests/app/StatementTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Statement
*/
@@ -32,6 +29,6 @@ class StatementTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Statement'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Statement'));
}
}
diff --git a/tests/app/StatsTest.php b/tests/app/StatsTest.php
index 727aee3cc8..178112eb3f 100644
--- a/tests/app/StatsTest.php
+++ b/tests/app/StatsTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Stats
*/
@@ -33,6 +30,6 @@ class StatsTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Stats'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Stats'));
}
}
diff --git a/tests/app/TreeTest.php b/tests/app/TreeTest.php
index edd3008dbd..727bde14bc 100644
--- a/tests/app/TreeTest.php
+++ b/tests/app/TreeTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class Tree
*/
@@ -32,6 +29,6 @@ class TreeTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\Tree'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\Tree'));
}
}
diff --git a/tests/app/UserTest.php b/tests/app/UserTest.php
index dda4841244..b49019a96e 100644
--- a/tests/app/UserTest.php
+++ b/tests/app/UserTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Test harness for the class WT_User
*/
@@ -32,6 +29,6 @@ class UserTest extends PHPUnit_Framework_TestCase {
* Test that the class exists
*/
public function testClassExists() {
- $this->assertTrue(class_exists(__NAMESPACE__ . '\User'));
+ $this->assertTrue(class_exists('\Fisharebest\Webtrees\User'));
}
}
diff --git a/tests/includes/functions/FunctionsChartsTest.php b/tests/includes/functions/FunctionsChartsTest.php
index 32c7d82e5f..705206654d 100644
--- a/tests/includes/functions/FunctionsChartsTest.php
+++ b/tests/includes/functions/FunctionsChartsTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_charts.php
*/
@@ -32,48 +29,48 @@ class FunctionsChartsTest extends PHPUnit_Framework_TestCase {
* Test that function print_sosa_number() exists in the correct namespace.
*/
public function testFunctionPrintSosaNumberExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_sosa_number'), true);
+ $this->assertEquals(function_exists('print_sosa_number'), true);
}
/**
* Test that function print_family_children() exists in the correct namespace.
*/
public function testFunctionPrintFamilyParentsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_family_children'), true);
+ $this->assertEquals(function_exists('print_family_children'), true);
}
/**
* Test that function print_family_children() exists in the correct namespace.
*/
public function testFunctionPrintFamilyChildrenExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_family_children'), true);
+ $this->assertEquals(function_exists('print_family_children'), true);
}
/**
* Test that function print_sosa_family() exists in the correct namespace.
*/
public function testFunctionPrintSosaFamilyExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_sosa_family'), true);
+ $this->assertEquals(function_exists('print_sosa_family'), true);
}
/**
* Test that function print_url_arrow() exists in the correct namespace.
*/
public function testFunctionPrintUrlArrowExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_url_arrow'), true);
+ $this->assertEquals(function_exists('print_url_arrow'), true);
}
/**
* Test that function get_sosa_name() exists in the correct namespace.
*/
public function testFunctionGetSosaNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_sosa_name'), true);
+ $this->assertEquals(function_exists('get_sosa_name'), true);
}
/**
* Test that function print_cousins() exists in the correct namespace.
*/
public function testFunctionPrintCousinsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_cousins'), true);
+ $this->assertEquals(function_exists('print_cousins'), true);
}
}
diff --git a/tests/includes/functions/FunctionsDateTest.php b/tests/includes/functions/FunctionsDateTest.php
index e6ea8761e4..5ce76a452f 100644
--- a/tests/includes/functions/FunctionsDateTest.php
+++ b/tests/includes/functions/FunctionsDateTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_date.php
*/
@@ -32,20 +29,20 @@ class FunctionsDateTest extends PHPUnit_Framework_TestCase {
* Test that function get_age_at_event() exists in the correct namespace.
*/
public function testFunctionGetAgeAtEventExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_age_at_event'), true);
+ $this->assertEquals(function_exists('get_age_at_event'), true);
}
/**
* Test that function format_timestamp() exists in the correct namespace.
*/
public function testFunctionFormatTimestampExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_timestamp'), true);
+ $this->assertEquals(function_exists('format_timestamp'), true);
}
/**
* Test that function timestamp_to_gedcom_date() exists in the correct namespace.
*/
public function testFunctionTimestampToGedcomDateExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\timestamp_to_gedcom_date'), true);
+ $this->assertEquals(function_exists('timestamp_to_gedcom_date'), true);
}
}
diff --git a/tests/includes/functions/FunctionsDbTest.php b/tests/includes/functions/FunctionsDbTest.php
index e29ef2a096..2d04e69c52 100644
--- a/tests/includes/functions/FunctionsDbTest.php
+++ b/tests/includes/functions/FunctionsDbTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_db.php
*/
@@ -32,160 +29,160 @@ class FunctionsDbTest extends PHPUnit_Framework_TestCase {
* Test that function fetch_all_links() exists in the correct namespace.
*/
public function testFunctionFetchAllLinksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\fetch_all_links'), true);
+ $this->assertEquals(function_exists('fetch_all_links'), true);
}
/**
* Test that function get_source_list() exists in the correct namespace.
*/
public function testFunctionGetSourceListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_source_list'), true);
+ $this->assertEquals(function_exists('get_source_list'), true);
}
/**
* Test that function get_repo_list() exists in the correct namespace.
*/
public function testFunctionGetRepoListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_repo_list'), true);
+ $this->assertEquals(function_exists('get_repo_list'), true);
}
/**
* Test that function get_note_list() exists in the correct namespace.
*/
public function testFunctionGetNoteListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_note_list'), true);
+ $this->assertEquals(function_exists('get_note_list'), true);
}
/**
* Test that function search_indis() exists in the correct namespace.
*/
public function testFunctionSearchIndisExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_indis'), true);
+ $this->assertEquals(function_exists('search_indis'), true);
}
/**
* Test that function search_indis_names() exists in the correct namespace.
*/
public function testFunctionSearchIndisNamesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_indis_names'), true);
+ $this->assertEquals(function_exists('search_indis_names'), true);
}
/**
* Test that function search_indis_soundex() exists in the correct namespace.
*/
public function testFunctionSearchIndisSoundexExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_indis_soundex'), true);
+ $this->assertEquals(function_exists('search_indis_soundex'), true);
}
/**
* Test that function get_recent_changes() exists in the correct namespace.
*/
public function testFunctionGetRecentChangesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_recent_changes'), true);
+ $this->assertEquals(function_exists('get_recent_changes'), true);
}
/**
* Test that function search_fams() exists in the correct namespace.
*/
public function testFunctionSearchFamsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_fams'), true);
+ $this->assertEquals(function_exists('search_fams'), true);
}
/**
* Test that function search_fams_names() exists in the correct namespace.
*/
public function testFunctionSearchFamsNamesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_fams_names'), true);
+ $this->assertEquals(function_exists('search_fams_names'), true);
}
/**
* Test that function search_sources() exists in the correct namespace.
*/
public function testFunctionSearchSourcesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_sources'), true);
+ $this->assertEquals(function_exists('search_sources'), true);
}
/**
* Test that function search_notes() exists in the correct namespace.
*/
public function testFunctionSearchNotesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_notes'), true);
+ $this->assertEquals(function_exists('search_notes'), true);
}
/**
* Test that function search_repos() exists in the correct namespace.
*/
public function testFunctionSearchReposExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\search_repos'), true);
+ $this->assertEquals(function_exists('search_repos'), true);
}
/**
* Test that function find_rin_id() exists in the correct namespace.
*/
public function testFunctionFindRinIdExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\find_rin_id'), true);
+ $this->assertEquals(function_exists('find_rin_id'), true);
}
/**
* Test that function get_common_surnames() exists in the correct namespace.
*/
public function testFunctionGetCommonSurnamesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_common_surnames'), true);
+ $this->assertEquals(function_exists('get_common_surnames'), true);
}
/**
* Test that function get_top_surnames() exists in the correct namespace.
*/
public function testFunctionGetTopSurnamesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_top_surnames'), true);
+ $this->assertEquals(function_exists('get_top_surnames'), true);
}
/**
* Test that function get_anniversary_events() exists in the correct namespace.
*/
public function testFunctionGetAnniversaryEventsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_anniversary_events'), true);
+ $this->assertEquals(function_exists('get_anniversary_events'), true);
}
/**
* Test that function get_calendar_events() exists in the correct namespace.
*/
public function testFunctionGetCalendarEventsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_calendar_events'), true);
+ $this->assertEquals(function_exists('get_calendar_events'), true);
}
/**
* Test that function is_media_used_in_other_gedcom() exists in the correct namespace.
*/
public function testFunctionIsMediaUsedInOtherGedcomExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\is_media_used_in_other_gedcom'), true);
+ $this->assertEquals(function_exists('is_media_used_in_other_gedcom'), true);
}
/**
* Test that function get_user_blocks() exists in the correct namespace.
*/
public function testFunctionGetUserBlocksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_user_blocks'), true);
+ $this->assertEquals(function_exists('get_user_blocks'), true);
}
/**
* Test that function get_gedcom_blocks() exists in the correct namespace.
*/
public function testFunctionGetGedcomBlocksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_gedcom_blocks'), true);
+ $this->assertEquals(function_exists('get_gedcom_blocks'), true);
}
/**
* Test that function update_favorites() exists in the correct namespace.
*/
public function testFunctionUpdateFavoritesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\update_favorites'), true);
+ $this->assertEquals(function_exists('update_favorites'), true);
}
/**
* Test that function get_events_list() exists in the correct namespace.
*/
public function testFunctionGetEventsListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_events_list'), true);
+ $this->assertEquals(function_exists('get_events_list'), true);
}
}
diff --git a/tests/includes/functions/FunctionsEditTest.php b/tests/includes/functions/FunctionsEditTest.php
index 8782a3b9d8..73476f9b86 100644
--- a/tests/includes/functions/FunctionsEditTest.php
+++ b/tests/includes/functions/FunctionsEditTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_edit.php
*/
@@ -33,251 +30,251 @@ class FunctionsEditTest extends PHPUnit_Framework_TestCase {
* Test that function select_edit_control() exists in the correct namespace.
*/
public function testFunctionSelectEditControlExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\select_edit_control'), true);
+ $this->assertEquals(function_exists('select_edit_control'), true);
}
/**
* Test that function radio_buttons() exists in the correct namespace.
*/
public function testFunctionRadioButtonsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\radio_buttons'), true);
+ $this->assertEquals(function_exists('radio_buttons'), true);
}
/**
* Test that function edit_field_yes_no() exists in the correct namespace.
*/
public function testFunctionEditFieldYesNoExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_yes_no'), true);
+ $this->assertEquals(function_exists('edit_field_yes_no'), true);
}
/**
* Test that function checkbox() exists in the correct namespace.
*/
public function testFunctionCheckboxExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\checkbox'), true);
+ $this->assertEquals(function_exists('checkbox'), true);
}
/**
* Test that function two_state_checkbox() exists in the correct namespace.
*/
public function testFunctionTwoStateCheckboxExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\two_state_checkbox'), true);
+ $this->assertEquals(function_exists('two_state_checkbox'), true);
}
/**
* Test that function edit_language_checkboxes() exists in the correct namespace.
*/
public function testFunctionEditLanguageCheckboxesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_language_checkboxes'), true);
+ $this->assertEquals(function_exists('edit_language_checkboxes'), true);
}
/**
* Test that function edit_field_access_level() exists in the correct namespace.
*/
public function testFunctionEditFieldAccessLevelExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_access_level'), true);
+ $this->assertEquals(function_exists('edit_field_access_level'), true);
}
/**
* Test that function edit_field_resn() exists in the correct namespace.
*/
public function testFunctionEditFieldResnExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_resn'), true);
+ $this->assertEquals(function_exists('edit_field_resn'), true);
}
/**
* Test that function edit_field_contact() exists in the correct namespace.
*/
public function testFunctionEditFieldContactExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_contact'), true);
+ $this->assertEquals(function_exists('edit_field_contact'), true);
}
/**
* Test that function edit_field_language() exists in the correct namespace.
*/
public function testFunctionEditFieldLangaugeExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_language'), true);
+ $this->assertEquals(function_exists('edit_field_language'), true);
}
/**
* Test that function edit_field_integers() exists in the correct namespace.
*/
public function testFunctionEditFieldIntegersExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_integers'), true);
+ $this->assertEquals(function_exists('edit_field_integers'), true);
}
/**
* Test that function edit_field_username() exists in the correct namespace.
*/
public function testFunctionEditFieldUsernameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_username'), true);
+ $this->assertEquals(function_exists('edit_field_username'), true);
}
/**
* Test that function edit_field_adop() exists in the correct namespace.
*/
public function testFunctionEditFieldAdopExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_adop'), true);
+ $this->assertEquals(function_exists('edit_field_adop'), true);
}
/**
* Test that function edit_field_pedi() exists in the correct namespace.
*/
public function testFunctionEditFieldPediExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_pedi'), true);
+ $this->assertEquals(function_exists('edit_field_pedi'), true);
}
/**
* Test that function edit_field_name_type() exists in the correct namespace.
*/
public function testFunctionEditFieldNameTypeExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_name_type'), true);
+ $this->assertEquals(function_exists('edit_field_name_type'), true);
}
/**
* Test that function edit_field_rela() exists in the correct namespace.
*/
public function testFunctionEditFieldRelaExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\edit_field_rela'), true);
+ $this->assertEquals(function_exists('edit_field_rela'), true);
}
/**
* Test that function remove_links() exists in the correct namespace.
*/
public function testFunctionRemoveLinksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\remove_links'), true);
+ $this->assertEquals(function_exists('remove_links'), true);
}
/**
* Test that function print_calendar_popup() exists in the correct namespace.
*/
public function testFunctionPrintCalendarPopupExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_calendar_popup'), true);
+ $this->assertEquals(function_exists('print_calendar_popup'), true);
}
/**
* Test that function print_addnewmedia_link() exists in the correct namespace.
*/
public function testFunctionPrintAddnewmediaLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_addnewmedia_link'), true);
+ $this->assertEquals(function_exists('print_addnewmedia_link'), true);
}
/**
* Test that function print_addnewrepository_link() exists in the correct namespace.
*/
public function testFunctionPrintAddnewrepositoryLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_addnewrepository_link'), true);
+ $this->assertEquals(function_exists('print_addnewrepository_link'), true);
}
/**
* Test that function print_addnewnote_link() exists in the correct namespace.
*/
public function testFunctionPrintAddnewnoteLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_addnewnote_link'), true);
+ $this->assertEquals(function_exists('print_addnewnote_link'), true);
}
/**
* Test that function print_editnote_link() exists in the correct namespace.
*/
public function testFunctionPrintEditnoteLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_editnote_link'), true);
+ $this->assertEquals(function_exists('print_editnote_link'), true);
}
/**
* Test that function print_addnewsource_link() exists in the correct namespace.
*/
public function testFunctionPrintAddnewsourceLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_addnewsource_link'), true);
+ $this->assertEquals(function_exists('print_addnewsource_link'), true);
}
/**
* Test that function add_simple_tag() exists in the correct namespace.
*/
public function testFunctionAddSimpleTagExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\add_simple_tag'), true);
+ $this->assertEquals(function_exists('add_simple_tag'), true);
}
/**
* Test that function print_add_layer() exists in the correct namespace.
*/
public function testFunctionPrintAddLayerExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_add_layer'), true);
+ $this->assertEquals(function_exists('print_add_layer'), true);
}
/**
* Test that function addSimpleTags() exists in the correct namespace.
*/
public function testFunctionAddSimpleTagsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\addSimpleTags'), true);
+ $this->assertEquals(function_exists('addSimpleTags'), true);
}
/**
* Test that function addNewName() exists in the correct namespace.
*/
public function testFunctionAddNewNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\addNewName'), true);
+ $this->assertEquals(function_exists('addNewName'), true);
}
/**
* Test that function addNewSex() exists in the correct namespace.
*/
public function testFunctionAddNewSexExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\addNewSex'), true);
+ $this->assertEquals(function_exists('addNewSex'), true);
}
/**
* Test that function addNewFact() exists in the correct namespace.
*/
public function testFunctionAddNewFactExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\addNewFact'), true);
+ $this->assertEquals(function_exists('addNewFact'), true);
}
/**
* Test that function splitSOUR() exists in the correct namespace.
*/
public function testFunctionSplitSourExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\splitSOUR'), true);
+ $this->assertEquals(function_exists('splitSOUR'), true);
}
/**
* Test that function updateSOUR() exists in the correct namespace.
*/
public function testFunctionUpdateSourExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\updateSOUR'), true);
+ $this->assertEquals(function_exists('updateSOUR'), true);
}
/**
* Test that function updateRest() exists in the correct namespace.
*/
public function testFunctionUpdateRestExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\updateRest'), true);
+ $this->assertEquals(function_exists('updateRest'), true);
}
/**
* Test that function handle_updates() exists in the correct namespace.
*/
public function testFunctionHandleUpdatesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\handle_updates'), true);
+ $this->assertEquals(function_exists('handle_updates'), true);
}
/**
* Test that function create_add_form() exists in the correct namespace.
*/
public function testFunctionCreateAddFromExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\create_add_form'), true);
+ $this->assertEquals(function_exists('create_add_form'), true);
}
/**
* Test that function create_edit_form() exists in the correct namespace.
*/
public function testFunctionCreateEditFromExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\create_edit_form'), true);
+ $this->assertEquals(function_exists('create_edit_form'), true);
}
/**
* Test that function insert_missing_subtags() exists in the correct namespace.
*/
public function testFunctionInsertMissingSubtagsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\insert_missing_subtags'), true);
+ $this->assertEquals(function_exists('insert_missing_subtags'), true);
}
}
diff --git a/tests/includes/functions/FunctionsExportTest.php b/tests/includes/functions/FunctionsExportTest.php
index 21447e0e45..7e802c97b2 100644
--- a/tests/includes/functions/FunctionsExportTest.php
+++ b/tests/includes/functions/FunctionsExportTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_export.php
*/
@@ -32,27 +29,27 @@ class FunctionsExportTest extends PHPUnit_Framework_TestCase {
* Test that function reformat_record_export() exists in the correct namespace.
*/
public function testFunctionReformatRecordExportExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\reformat_record_export'), true);
+ $this->assertEquals(function_exists('reformat_record_export'), true);
}
/**
* Test that function gedcom_header() exists in the correct namespace.
*/
public function testFunctionGedcomHeaderExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\gedcom_header'), true);
+ $this->assertEquals(function_exists('gedcom_header'), true);
}
/**
* Test that function convert_media_path() exists in the correct namespace.
*/
public function testFunctionConvertMediaPathExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\convert_media_path'), true);
+ $this->assertEquals(function_exists('convert_media_path'), true);
}
/**
* Test that function export_gedcom() exists in the correct namespace.
*/
public function testFunctionExportGedcomExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\export_gedcom'), true);
+ $this->assertEquals(function_exists('export_gedcom'), true);
}
}
diff --git a/tests/includes/functions/FunctionsImportTest.php b/tests/includes/functions/FunctionsImportTest.php
index f1a653574a..da6a5c03a0 100644
--- a/tests/includes/functions/FunctionsImportTest.php
+++ b/tests/includes/functions/FunctionsImportTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_import.php
*/
@@ -32,62 +29,62 @@ class FunctionsImportTest extends PHPUnit_Framework_TestCase {
* Test that function reformat_record_import() exists in the correct namespace.
*/
public function testFunctionReformatRecordImportExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\reformat_record_import'), true);
+ $this->assertEquals(function_exists('reformat_record_import'), true);
}
/**
* Test that function update_dates() exists in the correct namespace.
*/
public function testFunctionUpdateDatesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\update_dates'), true);
+ $this->assertEquals(function_exists('update_dates'), true);
}
/**
* Test that function update_links() exists in the correct namespace.
*/
public function testFunctionUpdateLinksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\update_links'), true);
+ $this->assertEquals(function_exists('update_links'), true);
}
/**
* Test that function update_names() exists in the correct namespace.
*/
public function testFunctionUpdateNamesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\update_names'), true);
+ $this->assertEquals(function_exists('update_names'), true);
}
/**
* Test that function convert_inline_media() exists in the correct namespace.
*/
public function testFunctionConvertInlineMediaExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\convert_inline_media'), true);
+ $this->assertEquals(function_exists('convert_inline_media'), true);
}
/**
* Test that function create_media_object() exists in the correct namespace.
*/
public function testFunctionCreateMediaObjectExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\create_media_object'), true);
+ $this->assertEquals(function_exists('create_media_object'), true);
}
/**
* Test that function accept_all_changes() exists in the correct namespace.
*/
public function testFunctionAcceptAllChangesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\accept_all_changes'), true);
+ $this->assertEquals(function_exists('accept_all_changes'), true);
}
/**
* Test that function reject_all_changes() exists in the correct namespace.
*/
public function testFunctionRejectAllChangesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\reject_all_changes'), true);
+ $this->assertEquals(function_exists('reject_all_changes'), true);
}
/**
* Test that function update_record() exists in the correct namespace.
*/
public function testFunctionUpdateRecordExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\update_record'), true);
+ $this->assertEquals(function_exists('update_record'), true);
}
}
diff --git a/tests/includes/functions/FunctionsMediaDbTest.php b/tests/includes/functions/FunctionsMediaDbTest.php
index 95c9e0b9d6..fb4956e5e8 100644
--- a/tests/includes/functions/FunctionsMediaDbTest.php
+++ b/tests/includes/functions/FunctionsMediaDbTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_mediadb.php
*/
@@ -49,6 +46,6 @@ class FunctionsMediaDbTest extends PHPUnit_Framework_TestCase {
* Test that function hasMemoryForImage() exists in the correct namespace.
*/
public function testFunctionHasMemoryForImageExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\hasMemoryForImage'), true);
+ $this->assertEquals(function_exists('hasMemoryForImage'), true);
}
}
diff --git a/tests/includes/functions/FunctionsPrintFactsTest.php b/tests/includes/functions/FunctionsPrintFactsTest.php
index 51cf08cefc..a60cb5441f 100644
--- a/tests/includes/functions/FunctionsPrintFactsTest.php
+++ b/tests/includes/functions/FunctionsPrintFactsTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_print_facts.php
*/
@@ -32,62 +29,62 @@ class FunctionsPrintFactsTest extends PHPUnit_Framework_TestCase {
* Test that function print_fact() exists in the correct namespace.
*/
public function testFunctionPrintFactExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_fact'), true);
+ $this->assertEquals(function_exists('print_fact'), true);
}
/**
* Test that function print_repository_record() exists in the correct namespace.
*/
public function testFunctionPrintRepositoryRecordExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_repository_record'), true);
+ $this->assertEquals(function_exists('print_repository_record'), true);
}
/**
* Test that function print_fact_sources() exists in the correct namespace.
*/
public function testFunctionPrintFactSourcesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_fact_sources'), true);
+ $this->assertEquals(function_exists('print_fact_sources'), true);
}
/**
* Test that function print_media_links() exists in the correct namespace.
*/
public function testFunctionPrintMediaLinksExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_media_links'), true);
+ $this->assertEquals(function_exists('print_media_links'), true);
}
/**
* Test that function print_main_sources() exists in the correct namespace.
*/
public function testFunctionPrintMainSourcesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_main_sources'), true);
+ $this->assertEquals(function_exists('print_main_sources'), true);
}
/**
* Test that function printSourceStructure() exists in the correct namespace.
*/
public function testFunctionPrintSourceStructureExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\printSourceStructure'), true);
+ $this->assertEquals(function_exists('printSourceStructure'), true);
}
/**
* Test that function getSourceStructure() exists in the correct namespace.
*/
public function testFunctionGetSourceStructureExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\getSourceStructure'), true);
+ $this->assertEquals(function_exists('getSourceStructure'), true);
}
/**
* Test that function print_main_notes() exists in the correct namespace.
*/
public function testFunctionPrintMainNotesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_main_notes'), true);
+ $this->assertEquals(function_exists('print_main_notes'), true);
}
/**
* Test that function print_main_media() exists in the correct namespace.
*/
public function testFunctionPrintMainMediaExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_main_media'), true);
+ $this->assertEquals(function_exists('print_main_media'), true);
}
}
diff --git a/tests/includes/functions/FunctionsPrintListsTest.php b/tests/includes/functions/FunctionsPrintListsTest.php
index 164f0979c6..bef2be0aab 100644
--- a/tests/includes/functions/FunctionsPrintListsTest.php
+++ b/tests/includes/functions/FunctionsPrintListsTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_print_lists.php
*/
@@ -32,104 +29,104 @@ class FunctionsPrintListsTest extends PHPUnit_Framework_TestCase {
* Test that function format_indi_table() exists in the correct namespace.
*/
public function testFunctionFormatIndiTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_indi_table'), true);
+ $this->assertEquals(function_exists('format_indi_table'), true);
}
/**
* Test that function format_fam_table() exists in the correct namespace.
*/
public function testFunctionFormatFamTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_fam_table'), true);
+ $this->assertEquals(function_exists('format_fam_table'), true);
}
/**
* Test that function format_sour_table() exists in the correct namespace.
*/
public function testFunctionFormatSourTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_sour_table'), true);
+ $this->assertEquals(function_exists('format_sour_table'), true);
}
/**
* Test that function format_note_table() exists in the correct namespace.
*/
public function testFunctionFormatNoteTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_note_table'), true);
+ $this->assertEquals(function_exists('format_note_table'), true);
}
/**
* Test that function format_repo_table() exists in the correct namespace.
*/
public function testFunctionFormatRepoTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_repo_table'), true);
+ $this->assertEquals(function_exists('format_repo_table'), true);
}
/**
* Test that function format_media_table() exists in the correct namespace.
*/
public function testFunctionFormatMediaTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_media_table'), true);
+ $this->assertEquals(function_exists('format_media_table'), true);
}
/**
* Test that function format_surname_table() exists in the correct namespace.
*/
public function testFunctionFormatSurnameTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_surname_table'), true);
+ $this->assertEquals(function_exists('format_surname_table'), true);
}
/**
* Test that function format_surname_tagcloud() exists in the correct namespace.
*/
public function testFunctionFormatSurnameTagcloudExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_surname_tagcloud'), true);
+ $this->assertEquals(function_exists('format_surname_tagcloud'), true);
}
/**
* Test that function format_surname_list() exists in the correct namespace.
*/
public function testFunctionFormatSurnameListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_surname_list'), true);
+ $this->assertEquals(function_exists('format_surname_list'), true);
}
/**
* Test that function print_changes_list() exists in the correct namespace.
*/
public function testFunctionPrintChangesListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_changes_list'), true);
+ $this->assertEquals(function_exists('print_changes_list'), true);
}
/**
* Test that function print_changes_table() exists in the correct namespace.
*/
public function testFunctionPrintChangesTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_changes_table'), true);
+ $this->assertEquals(function_exists('print_changes_table'), true);
}
/**
* Test that function print_events_table() exists in the correct namespace.
*/
public function testFunctionPrintEventsTableExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_events_table'), true);
+ $this->assertEquals(function_exists('print_events_table'), true);
}
/**
* Test that function print_events_list() exists in the correct namespace.
*/
public function testFunctionPrintEventsListExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_events_list'), true);
+ $this->assertEquals(function_exists('print_events_list'), true);
}
/**
* Test that function print_chart_by_age() exists in the correct namespace.
*/
public function testFunctionPrintChartByAgeExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_chart_by_age'), true);
+ $this->assertEquals(function_exists('print_chart_by_age'), true);
}
/**
* Test that function print_chart_by_decade() exists in the correct namespace.
*/
public function testFunctionPrintChartByDecadeExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_chart_by_decade'), true);
+ $this->assertEquals(function_exists('print_chart_by_decade'), true);
}
}
diff --git a/tests/includes/functions/FunctionsPrintTest.php b/tests/includes/functions/FunctionsPrintTest.php
index ec14b2dde5..688c29ecdb 100644
--- a/tests/includes/functions/FunctionsPrintTest.php
+++ b/tests/includes/functions/FunctionsPrintTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_print.php
*/
@@ -32,7 +29,7 @@ class FunctionsPrintTest extends PHPUnit_Framework_TestCase {
* Test that function print_pedigree_person() exists in the correct namespace.
*/
public function testFunctionPrintPedigreePersonExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_pedigree_person'), true);
+ $this->assertEquals(function_exists('print_pedigree_person'), true);
}
/**
@@ -40,160 +37,160 @@ class FunctionsPrintTest extends PHPUnit_Framework_TestCase {
* Test that function print_note_record() exists in the correct namespace.
*/
public function testFunctionPrintNoteRecordExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_note_record'), true);
+ $this->assertEquals(function_exists('print_note_record'), true);
}
/**
* Test that function print_fact_notes() exists in the correct namespace.
*/
public function testFunctionPrintFactNotesExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_fact_notes'), true);
+ $this->assertEquals(function_exists('print_fact_notes'), true);
}
/**
* Test that function help_link() exists in the correct namespace.
*/
public function testFunctionHelpLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\help_link'), true);
+ $this->assertEquals(function_exists('help_link'), true);
}
/**
* Test that function wiki_help_link() exists in the correct namespace.
*/
public function testFunctionWikiHelpLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\wiki_help_link'), true);
+ $this->assertEquals(function_exists('wiki_help_link'), true);
}
/**
* Test that function highlight_search_hits() exists in the correct namespace.
*/
public function testFunctionHighlightSearchHitsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\highlight_search_hits'), true);
+ $this->assertEquals(function_exists('highlight_search_hits'), true);
}
/**
* Test that function format_asso_rela_record() exists in the correct namespace.
*/
public function testFunctionFormatAssoRelaRecordExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_asso_rela_record'), true);
+ $this->assertEquals(function_exists('format_asso_rela_record'), true);
}
/**
* Test that function format_parents_age() exists in the correct namespace.
*/
public function testFunctionFormatParentsAgeExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_parents_age'), true);
+ $this->assertEquals(function_exists('format_parents_age'), true);
}
/**
* Test that function format_fact_date() exists in the correct namespace.
*/
public function testFunctionFormatFactDateExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_fact_date'), true);
+ $this->assertEquals(function_exists('format_fact_date'), true);
}
/**
* Test that function format_fact_place() exists in the correct namespace.
*/
public function testFunctionFormatFactPlaceExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\format_fact_place'), true);
+ $this->assertEquals(function_exists('format_fact_place'), true);
}
/**
* Test that function CheckFactUnique() exists in the correct namespace.
*/
public function testFunctionCheckFactUniqueExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\CheckFactUnique'), true);
+ $this->assertEquals(function_exists('CheckFactUnique'), true);
}
/**
* Test that function print_add_new_fact() exists in the correct namespace.
*/
public function testFunctionPrintAddNewFactExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_add_new_fact'), true);
+ $this->assertEquals(function_exists('print_add_new_fact'), true);
}
/**
* Test that function init_calendar_popup() exists in the correct namespace.
*/
public function testFunctionInitCalendarPopupExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\init_calendar_popup'), true);
+ $this->assertEquals(function_exists('init_calendar_popup'), true);
}
/**
* Test that function print_findindi_link() exists in the correct namespace.
*/
public function testFunctionPrintFindindiLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findindi_link'), true);
+ $this->assertEquals(function_exists('print_findindi_link'), true);
}
/**
* Test that function print_findplace_link() exists in the correct namespace.
*/
public function testFunctionPrintFindplaceLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findplace_link'), true);
+ $this->assertEquals(function_exists('print_findplace_link'), true);
}
/**
* Test that function print_findfamily_link() exists in the correct namespace.
*/
public function testFunctionPrintFindfamilyLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findfamily_link'), true);
+ $this->assertEquals(function_exists('print_findfamily_link'), true);
}
/**
* Test that function print_specialchar_link() exists in the correct namespace.
*/
public function testFunctionPrintSpecialcharLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_specialchar_link'), true);
+ $this->assertEquals(function_exists('print_specialchar_link'), true);
}
/**
* Test that function print_autopaste_link() exists in the correct namespace.
*/
public function testFunctionPrintAutopasteLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_autopaste_link'), true);
+ $this->assertEquals(function_exists('print_autopaste_link'), true);
}
/**
* Test that function print_findsource_link() exists in the correct namespace.
*/
public function testFunctionPrintFindsourceLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findsource_link'), true);
+ $this->assertEquals(function_exists('print_findsource_link'), true);
}
/**
* Test that function print_findnote_link() exists in the correct namespace.
*/
public function testFunctionPrintFindnoteLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findnote_link'), true);
+ $this->assertEquals(function_exists('print_findnote_link'), true);
}
/**
* Test that function print_findrepository_link() exists in the correct namespace.
*/
public function testFunctionPrintFindrepositoryLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findrepository_link'), true);
+ $this->assertEquals(function_exists('print_findrepository_link'), true);
}
/**
* Test that function print_findmedia_link() exists in the correct namespace.
*/
public function testFunctionPrintFindmediaLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findmedia_link'), true);
+ $this->assertEquals(function_exists('print_findmedia_link'), true);
}
/**
* Test that function print_findfact_link() exists in the correct namespace.
*/
public function testFunctionPrintFindfactLinkExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\print_findfact_link'), true);
+ $this->assertEquals(function_exists('print_findfact_link'), true);
}
/**
* Test that function get_lds_glance() exists in the correct namespace.
*/
public function testFunctionGetLdsGlanceExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_lds_glance'), true);
+ $this->assertEquals(function_exists('get_lds_glance'), true);
}
}
diff --git a/tests/includes/functions/FunctionsRtlTest.php b/tests/includes/functions/FunctionsRtlTest.php
index 152cc9c132..75020cd94a 100644
--- a/tests/includes/functions/FunctionsRtlTest.php
+++ b/tests/includes/functions/FunctionsRtlTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions_rtl.php
*/
@@ -32,55 +29,55 @@ class FunctionsRtlTest extends PHPUnit_Framework_TestCase {
* Test that function stripLRMRLM() exists in the correct namespace.
*/
public function testFunctionStripLRMRLMExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\stripLRMRLM'), true);
+ $this->assertEquals(function_exists('stripLRMRLM'), true);
}
/**
* Test that function spanLTRRTL() exists in the correct namespace.
*/
public function testFunctionSpanLTRRTLExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\spanLTRRTL'), true);
+ $this->assertEquals(function_exists('spanLTRRTL'), true);
}
/**
* Test that function starredName() exists in the correct namespace.
*/
public function testFunctionStarredNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\starredName'), true);
+ $this->assertEquals(function_exists('starredName'), true);
}
/**
* Test that function getChar() exists in the correct namespace.
*/
public function testFunctionGetCharExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\getChar'), true);
+ $this->assertEquals(function_exists('getChar'), true);
}
/**
* Test that function breakCurrentSpan() exists in the correct namespace.
*/
public function testFunctionBreakCurrentSpanExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\breakCurrentSpan'), true);
+ $this->assertEquals(function_exists('breakCurrentSpan'), true);
}
/**
* Test that function beginCurrentSpan() exists in the correct namespace.
*/
public function testFunctionBeginCurrentSpanExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\beginCurrentSpan'), true);
+ $this->assertEquals(function_exists('beginCurrentSpan'), true);
}
/**
* Test that function finishCurrentSpan() exists in the correct namespace.
*/
public function testFunctionFinishCurrentSpanExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\finishCurrentSpan'), true);
+ $this->assertEquals(function_exists('finishCurrentSpan'), true);
}
/**
* Test that function utf8_wordwrap() exists in the correct namespace.
*/
public function testFunctionUtf8WordwrapExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\utf8_wordwrap'), true);
+ $this->assertEquals(function_exists('utf8_wordwrap'), true);
}
}
diff --git a/tests/includes/functions/FunctionsTest.php b/tests/includes/functions/FunctionsTest.php
index 1a66a4ef6c..a411c30003 100644
--- a/tests/includes/functions/FunctionsTest.php
+++ b/tests/includes/functions/FunctionsTest.php
@@ -1,5 +1,4 @@
<?php
-namespace Fisharebest\Webtrees;
/**
* webtrees: online genealogy
@@ -16,8 +15,6 @@ namespace Fisharebest\Webtrees;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use PHPUnit_Framework_TestCase;
-
/**
* Unit tests for the global functions in the file includes/functions/functions.php
*/
@@ -32,112 +29,112 @@ class FunctionsTest extends PHPUnit_Framework_TestCase {
* Test that function fetch_latest_version() exists in the correct namespace.
*/
public function testFunctionFetchLatestVersionExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\fetch_latest_version'), true);
+ $this->assertEquals(function_exists('fetch_latest_version'), true);
}
/**
* Test that function file_upload_error_text() exists in the correct namespace.
*/
public function testFunctionFileUploadErrorTextExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\file_upload_error_text'), true);
+ $this->assertEquals(function_exists('file_upload_error_text'), true);
}
/**
* Test that function get_sub_record() exists in the correct namespace.
*/
public function testFunctionGetSubRecordExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_sub_record'), true);
+ $this->assertEquals(function_exists('get_sub_record'), true);
}
/**
* Test that function get_cont() exists in the correct namespace.
*/
public function testFunctionGetContExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_cont'), true);
+ $this->assertEquals(function_exists('get_cont'), true);
}
/**
* Test that function event_sort() exists in the correct namespace.
*/
public function testFunctionEventSortExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\event_sort'), true);
+ $this->assertEquals(function_exists('event_sort'), true);
}
/**
* Test that function event_sort_name() exists in the correct namespace.
*/
public function testFunctionEventSortNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\event_sort_name'), true);
+ $this->assertEquals(function_exists('event_sort_name'), true);
}
/**
* Test that function sort_facts() exists in the correct namespace.
*/
public function testFunctionSortFactsExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\sort_facts'), true);
+ $this->assertEquals(function_exists('sort_facts'), true);
}
/**
* Test that function get_close_relationship_name() exists in the correct namespace.
*/
public function testFunctionGetCloseRelationshipNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_close_relationship_name'), true);
+ $this->assertEquals(function_exists('get_close_relationship_name'), true);
}
/**
* Test that function get_associate_relationship_name() exists in the correct namespace.
*/
public function testFunctionGetAssociateRelationshipNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_associate_relationship_name'), true);
+ $this->assertEquals(function_exists('get_associate_relationship_name'), true);
}
/**
* Test that function get_relationship() exists in the correct namespace.
*/
public function testFunctionGetRelationshipExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_relationship'), true);
+ $this->assertEquals(function_exists('get_relationship'), true);
}
/**
* Test that function get_relationship_name() exists in the correct namespace.
*/
public function testFunctionGetRelationshipNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_relationship_name'), true);
+ $this->assertEquals(function_exists('get_relationship_name'), true);
}
/**
* Test that function cousin_name() exists in the correct namespace.
*/
public function testFunctionCousinNameExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\cousin_name'), true);
+ $this->assertEquals(function_exists('cousin_name'), true);
}
/**
* Test that function cousin_name2() exists in the correct namespace.
*/
public function testFunctionCousinName2Exists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\cousin_name2'), true);
+ $this->assertEquals(function_exists('cousin_name2'), true);
}
/**
* Test that function get_relationship_name_from_path() exists in the correct namespace.
*/
public function testFunctionGetRelationshipNameFromPathExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_relationship_name_from_path'), true);
+ $this->assertEquals(function_exists('get_relationship_name_from_path'), true);
}
/**
* Test that function get_query_url() exists in the correct namespace.
*/
public function testFunctionGetQueryUrlExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\get_query_url'), true);
+ $this->assertEquals(function_exists('get_query_url'), true);
}
/**
* Test that function isFileExternal() exists in the correct namespace.
*/
public function testFunctionIsFileExternalExists() {
- $this->assertEquals(function_exists(__NAMESPACE__ . '\\isFileExternal'), true);
+ $this->assertEquals(function_exists('isFileExternal'), true);
}
/**
diff --git a/tests/modules_v3/batch_update/plugins/DeathYBuPluginTest.php b/tests/modules_v3/batch_update/plugins/DeathYBuPluginTest.php
deleted file mode 100644
index b830d36bab..0000000000
--- a/tests/modules_v3/batch_update/plugins/DeathYBuPluginTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace Fisharebest\Webtrees;
-
-/**
- * webtrees: online genealogy
- * Copyright (C) 2015 webtrees development team
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-use PHPUnit_Framework_TestCase;
-
-/**
- * Unit tests for the batch update plugin: death_y
- */
-class DeathYBuPluginTest extends PHPUnit_Framework_TestCase {
- /**
- * Prepare the environment for these tests
- */
- public function setUp() {
- }
-
- /**
- * Test that the class exists.
- */
- public function testFunctionGetUserFullNameExists() {
- $this->assertEquals(true, class_exists(__NAMESPACE__ . '\\BatchUpdateMissingDeathPlugin'));
- }
-}
diff --git a/tests/modules_v3/batch_update/plugins/DuplicateLinksBuPluginTest.php b/tests/modules_v3/batch_update/plugins/DuplicateLinksBuPluginTest.php
deleted file mode 100644
index ddbc91e4e1..0000000000
--- a/tests/modules_v3/batch_update/plugins/DuplicateLinksBuPluginTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace Fisharebest\Webtrees;
-
-/**
- * webtrees: online genealogy
- * Copyright (C) 2015 webtrees development team
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-use PHPUnit_Framework_TestCase;
-
-/**
- * Unit tests for the batch update plugin: duplicate_links
- */
-class DuplicateLinksBuPluginTest extends PHPUnit_Framework_TestCase {
- /**
- * Prepare the environment for these tests
- */
- public function setUp() {
- }
-
- /**
- * Test that the class exists.
- */
- public function testFunctionGetUserFullNameExists() {
- $this->assertEquals(true, class_exists(__NAMESPACE__ . '\\BatchUpdateDuplicateLinksPlugin'));
- }
-}
diff --git a/tests/modules_v3/batch_update/plugins/MarriedNamesBuPluginTest.php b/tests/modules_v3/batch_update/plugins/MarriedNamesBuPluginTest.php
deleted file mode 100644
index 214866c134..0000000000
--- a/tests/modules_v3/batch_update/plugins/MarriedNamesBuPluginTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace Fisharebest\Webtrees;
-
-/**
- * webtrees: online genealogy
- * Copyright (C) 2015 webtrees development team
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-use PHPUnit_Framework_TestCase;
-
-/**
- * Unit tests for the batch update plugin: married_names
- */
-class MarriedNamesBuPluginTest extends PHPUnit_Framework_TestCase {
- /**
- * Prepare the environment for these tests
- */
- public function setUp() {
- }
-
- /**
- * Test that the class exists.
- */
- public function testFunctionGetUserFullNameExists() {
- $this->assertEquals(true, class_exists(__NAMESPACE__ . '\\BatchUpdateMarriedNamesPlugin'));
- }
-}
diff --git a/tests/modules_v3/batch_update/plugins/NameFormatBuPluginTest.php b/tests/modules_v3/batch_update/plugins/NameFormatBuPluginTest.php
deleted file mode 100644
index e9a854434b..0000000000
--- a/tests/modules_v3/batch_update/plugins/NameFormatBuPluginTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace Fisharebest\Webtrees;
-
-/**
- * webtrees: online genealogy
- * Copyright (C) 2015 webtrees development team
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-use PHPUnit_Framework_TestCase;
-
-/**
- * Unit tests for the batch update plugin: name_format
- */
-class NameFormatBuPluginTest extends PHPUnit_Framework_TestCase {
- /**
- * Prepare the environment for these tests
- */
- public function setUp() {
- }
-
- /**
- * Test that the class exists.
- */
- public function testFunctionGetUserFullNameExists() {
- $this->assertEquals(true, class_exists(__NAMESPACE__ . '\\BatchUpdateNameFormatPlugin'));
- }
-}
diff --git a/tests/modules_v3/batch_update/plugins/SearchReplaceBuPluginTest.php b/tests/modules_v3/batch_update/plugins/SearchReplaceBuPluginTest.php
deleted file mode 100644
index e7631d3cd3..0000000000
--- a/tests/modules_v3/batch_update/plugins/SearchReplaceBuPluginTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace Fisharebest\Webtrees;
-
-/**
- * webtrees: online genealogy
- * Copyright (C) 2015 webtrees development team
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-use PHPUnit_Framework_TestCase;
-
-/**
- * Unit tests for the batch update plugin: search_replace
- */
-class SearchReplaceBuPluginTest extends PHPUnit_Framework_TestCase {
- /**
- * Prepare the environment for these tests
- */
- public function setUp() {
- }
-
- /**
- * Test that the class exists.
- */
- public function testFunctionGetUserFullNameExists() {
- $this->assertEquals(true, class_exists(__NAMESPACE__ . '\\BatchUpdateSearchReplacePlugin'));
- }
-}