mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 05:24:28 +02:00
Fixed tests.
This commit is contained in:
parent
3f70b07614
commit
e16ae9390f
3 changed files with 11 additions and 11 deletions
|
@ -142,6 +142,6 @@ class RedirectControllerTest extends WebTestCase
|
|||
$this->client->followRedirects(false);
|
||||
|
||||
$this->client->request('GET', '/part/3');
|
||||
$this->assertEquals("/$locale/user/settings", $this->client->getResponse()->headers->get('Location'));
|
||||
$this->assertEquals('http://localhost' . "/$locale/user/settings", $this->client->getResponse()->headers->get('Location'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue