Skip to content

Commit 58dcafe

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/DrupalOrg/VersionGroupTest.php

Lines changed: 2 additions & 0 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
@@ -63,6 +64,7 @@ public static function versionGroups(): array
6364
* @param string|null $nextVersion
6465
* The expected next version (if any)
6566
*/
67+
#[DataProvider('versionGroups')]
6668
public function testGetNextVersion(
6769
array $versions,
6870
string $currentVersion,

0 commit comments

Comments
 (0)