mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +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();
|
||
|
}
|
||
|
}
|