mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
c37a6226ae
commit
d5db33e24e
2 changed files with 4 additions and 3 deletions
|
@ -10,9 +10,6 @@ class PostInstall extends ModulePostInstall
|
|||
public $supportLog = false;
|
||||
public function run()
|
||||
{
|
||||
$version = new Version();
|
||||
$version->checkForUpdates();
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ namespace Tests\Unit;
|
|||
use App\Models\HostingPlan;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Str;
|
||||
use Modules\Microweber\Filament\Clusters\Microweber\Pages\Version;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
||||
|
@ -16,6 +17,9 @@ class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
|||
|
||||
Artisan::call('phyre:install-module Microweber');
|
||||
|
||||
$version = new Version();
|
||||
$version->checkForUpdates();
|
||||
|
||||
$random = rand(1000, 9999);
|
||||
$callHostingPlanStoreResponse = $this->callApiAuthorizedRouteAction('api.hosting-plans.store',[
|
||||
'name' => 'Unit Test Microweber Hosting Plan #' . $random,
|
||||
|
|
Loading…
Reference in a new issue