diff options
Diffstat (limited to 'tests/app')
146 files changed, 148 insertions, 582 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')); } } |
