mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-25 13:24:48 +02:00
Fixed tests coding style.
This commit is contained in:
parent
fd61c8d9e2
commit
da09873be5
6 changed files with 37 additions and 42 deletions
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
|
||||
*
|
||||
|
@ -20,16 +23,14 @@
|
|||
|
||||
namespace App\Tests;
|
||||
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
class DatatablesAvailabilityTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider urlProvider
|
||||
* @param string $url
|
||||
*/
|
||||
public function testDataTable(string $url)
|
||||
public function testDataTable(string $url): void
|
||||
{
|
||||
//We have localized routes
|
||||
$url = '/en'.$url;
|
||||
|
@ -63,6 +64,5 @@ class DatatablesAvailabilityTest extends WebTestCase
|
|||
yield ['/log/'];
|
||||
|
||||
yield ['/attachment/list'];
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue