Skip to content

Commit

Permalink
Add a test for package to check
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Oct 16, 2023
1 parent 0708f64 commit 19c4793
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/Integration/PackageToCheckTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace Violinist\ComposerUpdater\Tests\Integration;

use Violinist\ComposerUpdater\Updater;

class PackageToCheckTest extends IntegrationBase
{
protected $package = 'drupal/captcha';
protected $directory = 'drupal-captcha';

protected function createUpdater($directory)
{
$updater = new Updater($directory, 'drupal/recaptcha');
$updater->setPackageToCheckHasUpdated($this->package);
return $updater;
}

}

0 comments on commit 19c4793

Please sign in to comment.