Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-efler committed Feb 9, 2021
1 parent c12ca31 commit a886fe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/src/Strategy/ComposerStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
*/
class ComposerStrategyTest extends TestCase
{
public function setUp(): void
{
if (!\class_exists('Composer\InstalledVersions')) {
$this->markTestSkipped('composer 2 required for this strategy.');
}
}

public function testVersion()
{
$strategy = new ComposerStrategy(10);
Expand Down

0 comments on commit a886fe3

Please sign in to comment.