mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update MicroweberHostingSubscriptionCreateTest.php
This commit is contained in:
parent
5db35d932b
commit
e3a73c702d
1 changed files with 4 additions and 0 deletions
|
@ -74,6 +74,10 @@ class MicroweberHostingSubscriptionCreateTest extends ActionTestCase
|
|||
'domain' => $hostingSubscriptionDomain,
|
||||
])->json();
|
||||
|
||||
if (!isset($callHostingSubscriptionStoreResponse['status'])) {
|
||||
$this->fail(json_encode($callHostingSubscriptionStoreResponse));
|
||||
}
|
||||
|
||||
$this->assertArrayHasKey('status', $callHostingSubscriptionStoreResponse);
|
||||
$this->assertTrue($callHostingSubscriptionStoreResponse['status'] == 'ok');
|
||||
$this->assertArrayHasKey('data', $callHostingSubscriptionStoreResponse);
|
||||
|
|
Loading…
Reference in a new issue