fix: run the functional tests over https
This commit is contained in:
1 parent
e9acfd4a30
commit
fae28b1fd7
8 files changed
+10
-10
No files matched your search
@@ -17,7 +17,7 @@ class LoginEntryPointTest extends WebTestCase
|
||||
*/
|
||||
public function testAnExpiredSessionOnAnHtmxRequestNavigatesToTheLoginPage(): void
|
||||
{
|
||||
$client = self::createClient();
|
||||
$client = self::createClient(server: ['HTTPS' => true]);
|
||||
|
||||
$client->request('GET', '/book/desk', server: ['HTTP_HX-Request' => 'true']);
|
||||
|
||||
@@ -26,7 +26,7 @@ class LoginEntryPointTest extends WebTestCase
|
||||
|
||||
public function testAnExpiredSessionOnAnOrdinaryRequestStillRedirects(): void
|
||||
{
|
||||
$client = self::createClient();
|
||||
$client = self::createClient(server: ['HTTPS' => true]);
|
||||
|
||||
$client->request('GET', '/book/desk');
|
||||
|
||||
|
||||
Reference in new issue
Block a user