summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusOfSlovakia1930Test.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-03-26 11:38:51 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-03-31 17:33:17 +0100
commit202c018b592d5a516e4a465dc6dc515f3be37399 (patch)
tree06e060fc19a494f1e5dcf89fc7ce04a8011e8176 /tests/app/Census/CensusOfSlovakia1930Test.php
parent1ff45046fabc22237b5d0d8e489c96f031fc598d (diff)
downloadwebtrees-202c018b592d5a516e4a465dc6dc515f3be37399.tar.gz
webtrees-202c018b592d5a516e4a465dc6dc515f3be37399.tar.bz2
webtrees-202c018b592d5a516e4a465dc6dc515f3be37399.zip
PHPUnit 11 deprecates docblocks, use annotations instead
Diffstat (limited to 'tests/app/Census/CensusOfSlovakia1930Test.php')
-rw-r--r--tests/app/Census/CensusOfSlovakia1930Test.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/app/Census/CensusOfSlovakia1930Test.php b/tests/app/Census/CensusOfSlovakia1930Test.php
index 142b07f4f6..289fc63275 100644
--- a/tests/app/Census/CensusOfSlovakia1930Test.php
+++ b/tests/app/Census/CensusOfSlovakia1930Test.php
@@ -20,16 +20,15 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\TestCase;
+use PHPUnit\Framework\Attributes\CoversClass;
-/**
- * Test harness for the class CensusOfSlovakia1930
- */
+
+#[CoversClass(CensusOfSlovakia1930::class)]
+#[CoversClass(AbstractCensusColumn::class)]
class CensusOfSlovakia1930Test extends TestCase
{
/**
* Test the census place and date
- *
- * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1930
*/
public function testPlaceAndDate(): void
{
@@ -41,9 +40,6 @@ class CensusOfSlovakia1930Test extends TestCase
/**
* Test the census columns
- *
- * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1930
- * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn
*/
public function testColumns(): void
{