mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-28 10:30:29 +00:00
Create compose.yaml
This commit is contained in:
parent
898be5149d
commit
dee9f49346
2 changed files with 8 additions and 3 deletions
|
@ -62,7 +62,10 @@ steps:
|
|||
from_secret: CODECOV_TOKEN
|
||||
settings:
|
||||
token: $CODECOV_TOKEN
|
||||
files: /usr/local/phyre/web/clover.xml
|
||||
files:
|
||||
- /usr/local/phyre/web/clover.xml
|
||||
flags:
|
||||
- unit
|
||||
---
|
||||
kind: pipeline
|
||||
name: Ubuntu 22.04
|
||||
|
|
|
@ -6,6 +6,7 @@ use App\Models\HostingPlan;
|
|||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Support\Str;
|
||||
use Modules\Microweber\Filament\Clusters\Microweber\Pages\Version;
|
||||
use Modules\Microweber\Jobs\DownloadMicroweber;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
||||
|
@ -17,8 +18,8 @@ class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
|||
|
||||
Artisan::call('phyre:install-module Microweber');
|
||||
|
||||
$version = new Version();
|
||||
$version->checkForUpdates();
|
||||
$downloadMicroweber = new DownloadMicroweber();
|
||||
$downloadMicroweber->handle();
|
||||
|
||||
$random = rand(1000, 9999);
|
||||
$callHostingPlanStoreResponse = $this->callApiAuthorizedRouteAction('api.hosting-plans.store',[
|
||||
|
@ -73,6 +74,7 @@ class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
|||
'hosting_plan_id' => $hostingPlanId,
|
||||
'domain' => $hostingSubscriptionDomain,
|
||||
])->json();
|
||||
|
||||
$this->assertArrayHasKey('status', $callHostingSubscriptionStoreResponse);
|
||||
$this->assertTrue($callHostingSubscriptionStoreResponse['status'] == 'ok');
|
||||
$this->assertArrayHasKey('data', $callHostingSubscriptionStoreResponse);
|
||||
|
|
Loading…
Reference in a new issue