mirror of
https://github.com/flarum/core.git
synced 2025-08-12 11:24:30 +02:00
Extension Tests (#9)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user