Skip to content

Commit a320807

Browse files
committed
Adapt test case to phpunit version 2
1 parent 34350dc commit a320807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DrupalOrg/VersionGroupTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace DrupalSecurityJira\DrupalOrg;
44

5+
use PHPUnit\Framework\Attributes\DataProvider;
56
use PHPUnit\Framework\TestCase;
67

78
class VersionGroupTest extends TestCase
@@ -57,12 +58,11 @@ public static function versionGroups(): array
5758
}
5859

5960
/**
60-
* @dataProvider versionGroups
61-
*
6261
* @param string[] $versions
6362
* @param string|null $nextVersion
6463
* The expected next version (if any)
6564
*/
65+
#[DataProvider('versionGroups')]
6666
public function testGetNextVersion(
6767
array $versions,
6868
string $currentVersion,

0 commit comments

Comments
 (0)