This commit is contained in:
Bozhidar 2024-05-14 21:40:09 +03:00
parent 90dabbb31f
commit 8df19d1ba4
2 changed files with 2 additions and 4 deletions

View file

@ -76,7 +76,7 @@
], ],
"test:coverage": [ "test:coverage": [
"Composer\\Config::disableProcessTimeout", "Composer\\Config::disableProcessTimeout",
"sudo phyre-php artisan test --filter AutoInstallPanelTest --coverage -c \"phpunit-coverage.xml\"" "sudo phyre-php artisan test --coverage -c \"phpunit-coverage.xml\""
] ]
}, },
"extra": { "extra": {

View file

@ -29,9 +29,7 @@ class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
'bandwidth' => 1000, 'bandwidth' => 1000,
'default_server_application_type' => 'apache_php', 'default_server_application_type' => 'apache_php',
'default_database_server_type' => 'mysql', 'default_database_server_type' => 'mysql',
'additional_services' => [ 'additional_services' => ['microweber'],
'microweber' => true
],
])->json(); ])->json();
$this->assertArrayHasKey('status', $callHostingPlanStoreResponse); $this->assertArrayHasKey('status', $callHostingPlanStoreResponse);
$this->assertTrue($callHostingPlanStoreResponse['status'] == 'ok'); $this->assertTrue($callHostingPlanStoreResponse['status'] == 'ok');