mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-07 00:44:36 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -35,7 +35,7 @@ class RedirectControllerTest extends WebTestCase
|
|||
protected $userRepo;
|
||||
protected $client;
|
||||
|
||||
public function setUp() : void
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->client = static::createClient([], [
|
||||
'PHP_AUTH_USER' => 'user',
|
||||
|
@ -114,8 +114,6 @@ class RedirectControllerTest extends WebTestCase
|
|||
$user->setLanguage($user_locale);
|
||||
$this->em->flush();
|
||||
|
||||
|
||||
|
||||
$this->client->followRedirects(false);
|
||||
$this->client->request('GET', $input_path);
|
||||
$this->assertEquals($redirect_path, $this->client->getResponse()->headers->get('Location'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue