Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Feature/EntitlementTest.php
Show All 13 Lines | |||||
{ | { | ||||
public function setUp(): void | public function setUp(): void | ||||
{ | { | ||||
parent::setUp(); | parent::setUp(); | ||||
$this->deleteTestUser('entitlement-test@kolabnow.com'); | $this->deleteTestUser('entitlement-test@kolabnow.com'); | ||||
$this->deleteTestUser('entitled-user@custom-domain.com'); | $this->deleteTestUser('entitled-user@custom-domain.com'); | ||||
$this->deleteTestDomain('custom-domain.com'); | |||||
} | } | ||||
public function tearDown(): void | public function tearDown(): void | ||||
{ | { | ||||
$this->deleteTestUser('entitlement-test@kolabnow.com'); | $this->deleteTestUser('entitlement-test@kolabnow.com'); | ||||
$this->deleteTestUser('entitled-user@custom-domain.com'); | $this->deleteTestUser('entitled-user@custom-domain.com'); | ||||
$this->deleteTestDomain('custom-domain.com'); | |||||
parent::tearDown(); | parent::tearDown(); | ||||
} | } | ||||
/** | /** | ||||
* Tests for User::AddEntitlement() | * Tests for User::AddEntitlement() | ||||
*/ | */ | ||||
public function testUserAddEntitlement(): void | public function testUserAddEntitlement(): void | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |