Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Feature/Controller/DomainsTest.php
Show All 14 Lines | |||||
{ | { | ||||
/** | /** | ||||
* {@inheritDoc} | * {@inheritDoc} | ||||
*/ | */ | ||||
public function setUp(): void | public function setUp(): void | ||||
{ | { | ||||
parent::setUp(); | parent::setUp(); | ||||
User::where('email', 'test1@domainscontroller.com')->delete(); | $this->deleteTestUser('test1@domainscontroller.com'); | ||||
Domain::where('namespace', 'domainscontroller.com')->delete(); | $this->deleteTestDomain('domainscontroller.com'); | ||||
} | |||||
public function tearDown(): void | |||||
{ | |||||
$this->deleteTestUser('test1@domainscontroller.com'); | |||||
$this->deleteTestDomain('domainscontroller.com'); | |||||
parent::tearDown(); | |||||
} | } | ||||
/** | /** | ||||
* Test domain confirm request | * Test domain confirm request | ||||
*/ | */ | ||||
public function testConfirm(): void | public function testConfirm(): void | ||||
{ | { | ||||
$sku_domain = Sku::where('title', 'domain')->first(); | $sku_domain = Sku::where('title', 'domain')->first(); | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |