summaryrefslogtreecommitdiff
path: root/tests/app/Report
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-05-31 08:08:54 +0100
committerGreg Roach <fisharebest@gmail.com>2015-05-31 17:36:14 +0100
commit0e62c4b8d0ec6901bfaffd1dc763db37489518a4 (patch)
treea1949cbb3ba5e7cf7d5ab8b08a4f179857328625 /tests/app/Report
parent5bccd64ef5cfe5e079d2cd516f4a661881dbe46c (diff)
downloadwebtrees-0e62c4b8d0ec6901bfaffd1dc763db37489518a4.tar.gz
webtrees-0e62c4b8d0ec6901bfaffd1dc763db37489518a4.tar.bz2
webtrees-0e62c4b8d0ec6901bfaffd1dc763db37489518a4.zip
PSR-4
Diffstat (limited to 'tests/app/Report')
-rw-r--r--tests/app/Report/ReportBaseTest.php5
-rw-r--r--tests/app/Report/ReportHTMLTest.php5
-rw-r--r--tests/app/Report/ReportPDFTest.php5
3 files changed, 3 insertions, 12 deletions
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'));
}
}