Apply new CS rules on the news-on-homepage feature

This commit is contained in:
2024-01-15 20:57:51 +01:00
parent 8cc5859a3b
commit f5879cf275
7 changed files with 46 additions and 17 deletions

View File

@@ -17,8 +17,11 @@ use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
/**
* Tests the admin pages for news items
* Tests the admin pages for news items.
*
* @internal
*
* @coversNothing
*/
class NewsItemControllerTest extends WebTestCase
{
@@ -50,7 +53,7 @@ class NewsItemControllerTest extends WebTestCase
public function testList()
{
$client = $this->getClientAuthenticated();
$client->request('GET', "/fr/admin/news_item");
$client->request('GET', '/fr/admin/news_item');
self::assertResponseIsSuccessful('Test that news item admin page shows');
}