Skip to content

Commit

Permalink
Allow fail on 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Oct 17, 2023
1 parent eddb730 commit ad44cf1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/Integration/RequireTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,21 @@

namespace Violinist\ComposerUpdater\Tests\Integration;

use Violinist\ComposerUpdater\Exception\NotUpdatedException;

class RequireTest extends IntegrationBase
{
protected $package = 'drupal/captcha';
protected $directory = 'drupal-captcha';
protected $useUpdate = false;
protected $newVersion = '2.0.5';

public function testEndToEnd()
{
if (version_compare(phpversion(), "7.3.0", "<")) {
$this->expectException(NotUpdatedException::class);
}
parent::testEndToEnd();
}

}

0 comments on commit ad44cf1

Please sign in to comment.