Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Feature/Jobs/DomainVerifyTest.php
Show All 10 Lines | |||||
{ | { | ||||
/** | /** | ||||
* {@inheritDoc} | * {@inheritDoc} | ||||
*/ | */ | ||||
public function setUp(): void | public function setUp(): void | ||||
{ | { | ||||
parent::setUp(); | parent::setUp(); | ||||
Domain::where('namespace', 'gmail.com') | $this->deleteTestDomain('gmail.com'); | ||||
->orWhere('namespace', 'some-non-existing-domain.fff') | $this->deleteTestDomain('some-non-existing-domain.fff'); | ||||
->delete(); | } | ||||
public function tearDown(): void | |||||
{ | |||||
$this->deleteTestDomain('gmail.com'); | |||||
$this->deleteTestDomain('some-non-existing-domain.fff'); | |||||
parent::tearDown(); | |||||
} | } | ||||
/** | /** | ||||
* Test job handle (existing domain) | * Test job handle (existing domain) | ||||
* | * | ||||
* @group dns | * @group dns | ||||
*/ | */ | ||||
public function testHandle(): void | public function testHandle(): void | ||||
Show All 40 Lines |