framework/extensions/package-manager/tests/integration/RefreshComposerSetup.php
2021-11-08 20:22:07 +01:00

19 lines
334 B
PHP

<?php
namespace Flarum\PackageManager\Tests\integration;
trait RefreshComposerSetup
{
public function tearDown(): void
{
$composerSetup = new SetupComposer();
@unlink($this->tmpDir().'/composer.lock');
$composerSetup->run();
$this->composer('install');
parent::tearDown();
}
}