mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
e3a73c702d
commit
16124057c6
6 changed files with 10 additions and 9 deletions
|
@ -21,7 +21,7 @@ use Illuminate\Support\Str;
|
|||
use Tests\Feature\Api\ActionTestCase;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
|
||||
class HostingSubscriptionBackupTest extends ActionTestCase
|
||||
class HSBackupTest extends ActionTestCase
|
||||
{
|
||||
public function testFullBackup()
|
||||
{
|
|
@ -13,7 +13,7 @@ use Illuminate\Support\Str;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class HostingSubscriptionCreateTest extends ActionTestCase
|
||||
class HSCreateTest extends ActionTestCase
|
||||
{
|
||||
function testRouteContainsMiddleware()
|
||||
{
|
|
@ -16,7 +16,7 @@ use Illuminate\Support\Str;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class HostingSubscriptionWithNodeJSCreateTest extends ActionTestCase
|
||||
class HSNodeJSTest extends ActionTestCase
|
||||
{
|
||||
function testRouteContainsMiddleware()
|
||||
{
|
||||
|
@ -35,15 +35,16 @@ class HostingSubscriptionWithNodeJSCreateTest extends ActionTestCase
|
|||
ApiKeyMiddleware::class
|
||||
);
|
||||
|
||||
// $this->assertRouteContainsMiddleware(
|
||||
// 'api.hosting-subscriptions.destroy',
|
||||
// ApiKeyMiddleware::class
|
||||
// );
|
||||
$this->assertRouteContainsMiddleware(
|
||||
'api.hosting-subscriptions.destroy',
|
||||
ApiKeyMiddleware::class
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
function testCreate()
|
||||
{
|
||||
|
||||
$this->assertTrue(Str::contains(php_uname(),'Ubuntu'));
|
||||
|
||||
$isNodeJsInstalled = false;
|
|
@ -6,7 +6,7 @@ use App\Http\Middleware\ApiKeyMiddleware;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class HostingSubscriptionsTest extends ActionTestCase
|
||||
class HSTest extends ActionTestCase
|
||||
{
|
||||
|
||||
function testRouteContainsMiddleware()
|
|
@ -9,7 +9,7 @@ use Modules\Microweber\Filament\Clusters\Microweber\Pages\Version;
|
|||
use Modules\Microweber\Jobs\DownloadMicroweber;
|
||||
use Tests\Feature\Api\ActionTestCase;
|
||||
|
||||
class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
||||
class MWHSCreateTest extends ActionTestCase
|
||||
{
|
||||
function testCreateInstallation()
|
||||
{
|
Loading…
Reference in a new issue