mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
19 lines
334 B
PHP
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();
|
|
}
|
|
}
|