Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Feature/Controller/UsersTest.php
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | class UsersTest extends TestCase | ||||
} | } | ||||
public function testRefresh(): void | public function testRefresh(): void | ||||
{ | { | ||||
// TODO | // TODO | ||||
$this->markTestIncomplete(); | $this->markTestIncomplete(); | ||||
} | } | ||||
public function testShow(): void | public function testStatusInfo(): void | ||||
{ | { | ||||
$user = $this->getTestUser('UsersControllerTest1@userscontroller.com'); | $user = $this->getTestUser('UsersControllerTest1@userscontroller.com'); | ||||
$domain = $this->getTestDomain('userscontroller.com', [ | $domain = $this->getTestDomain('userscontroller.com', [ | ||||
'status' => Domain::STATUS_NEW, | 'status' => Domain::STATUS_NEW, | ||||
'type' => Domain::TYPE_PUBLIC, | 'type' => Domain::TYPE_PUBLIC, | ||||
]); | ]); | ||||
$user->status = User::STATUS_NEW; | $user->status = User::STATUS_NEW; | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |