| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 8 | |||
| 9 | class WebsiteControllerTest extends TestCase |
||
| 10 | { |
||
| 11 | /** @test */ |
||
| 12 | public function shouldDisplayHomePage(): void |
||
| 16 | } |
||
| 17 | |||
| 18 | /** @test */ |
||
| 19 | public function shouldDisplayUserInfoPage(): void |
||
| 25 | } |
||
| 26 | |||
| 27 | /** @test */ |
||
| 28 | public function shouldDisplay404ForUnExistentUser(): void |
||
| 29 | { |
||
| 30 | $response = $this->get('/user/IHopeThisUserDoesNotExists'); |
||
| 31 | $response->assertResponseStatus(404); |
||
| 34 |