summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusOfUnitedStates1870Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Census/CensusOfUnitedStates1870Test.php')
-rw-r--r--tests/app/Census/CensusOfUnitedStates1870Test.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/app/Census/CensusOfUnitedStates1870Test.php b/tests/app/Census/CensusOfUnitedStates1870Test.php
index 616b508cf4..9cb395aa9c 100644
--- a/tests/app/Census/CensusOfUnitedStates1870Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1870Test.php
@@ -20,17 +20,15 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\TestCase;
+use PHPUnit\Framework\Attributes\CoversClass;
-/**
- * Test harness for the class CensusOfUnitedStates1870
- */
+
+#[CoversClass(CensusOfUnitedStates1870::class)]
+#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1870Test extends TestCase
{
/**
* Test the census place and date
- *
- * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1870
- * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn
*/
public function testPlaceAndDate(): void
{
@@ -42,8 +40,6 @@ class CensusOfUnitedStates1870Test extends TestCase
/**
* Test the census columns
- *
- * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1870
*/
public function testColumns(): void
{