Skip to content

Commit

Permalink
phpunit expects @covers annotations to have differently shaped va…
Browse files Browse the repository at this point in the history
…lues.
  • Loading branch information
wimleers committed Jun 19, 2023
1 parent 987ce00 commit 9a0814b
Showing 1 changed file with 7 additions and 8 deletions.
Expand Up @@ -10,7 +10,6 @@

/**
* @coversDefaultClass \Acquia\Cli\Command\App\From\Recommendation\AbandonmentRecommendation
* @group foo
*/
class AbandonmentRecommendationTest extends TestCase {

Expand All @@ -32,55 +31,55 @@ protected function setUp(): void {
}

/**
* @covers getPackageName
* @covers ::getPackageName
*/
public function testPackageName(): void {
$this->expectException(\LogicException::class);
$this->sut->getPackageName();
}

/**
* @covers getVersionConstraint
* @covers ::getVersionConstraint
*/
public function testVersionConstraint(): void {
$this->expectException(\LogicException::class);
$this->sut->getVersionConstraint();
}

/**
* @covers hasModulesToInstall
* @covers ::hasModulesToInstall
*/
public function testHasModulesToInstall(): void {
$this->expectException(\LogicException::class);
$this->sut->hasModulesToInstall();
}

/**
* @covers getModulesToInstall
* @covers ::getModulesToInstall
*/
public function testGetModulesToInstall(): void {
$this->expectException(\LogicException::class);
$this->sut->getModulesToInstall();
}

/**
* @covers hasPatches
* @covers ::hasPatches
*/
public function testHasPatches(): void {
$this->expectException(\LogicException::class);
$this->sut->hasPatches();
}

/**
* @covers isVetted
* @covers ::isVetted
*/
public function testIsVetted(): void {
$this->expectException(\LogicException::class);
$this->sut->isVetted();
}

/**
* @covers getPatches
* @covers ::getPatches
*/
public function testGetPatches(): void {
$this->expectException(\LogicException::class);
Expand Down

0 comments on commit 9a0814b

Please sign in to comment.