aswi2020sebela-gitlab/website/tests/Controller/HomeControllerTest.php @ ea92a5e5
1 |
<?php
|
---|---|
2 |
|
3 |
namespace App\Tests\Controller; |
4 |
|
5 |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
6 |
|
7 |
class HomeControllerTest extends WebTestCase { |
8 |
|
9 |
public function testMainPage() { |
10 |
$client = static::createClient(); |
11 |
$client->request('GET', '/'); |
12 |
$this->assertEquals(200, $client->getResponse()->getStatusCode()); |
13 |
}
|
14 |
}
|
- « Předchozí
- 1
- 2
- Další »