Fix some remaining formatting issues
This commit is contained in:
parent
77c6419c80
commit
4fef2b2942
@ -97,7 +97,7 @@ class AnimeClientTestCase extends TestCase
|
|||||||
$container = $di($config_array);
|
$container = $di($config_array);
|
||||||
|
|
||||||
// Use mock session handler
|
// Use mock session handler
|
||||||
$container->set('session-handler', static function (): \Aviat\AnimeClient\Tests\TestSessionHandler {
|
$container->set('session-handler', static function (): TestSessionHandler {
|
||||||
$session_handler = new TestSessionHandler();
|
$session_handler = new TestSessionHandler();
|
||||||
session_set_save_handler($session_handler, TRUE);
|
session_set_save_handler($session_handler, TRUE);
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ class IonTestCase extends TestCase
|
|||||||
// Set up DI container
|
// Set up DI container
|
||||||
$di = require 'di.php';
|
$di = require 'di.php';
|
||||||
$container = $di($config_array);
|
$container = $di($config_array);
|
||||||
$container->set('session-handler', static function (): \Aviat\Ion\Tests\TestSessionHandler {
|
$container->set('session-handler', static function (): TestSessionHandler {
|
||||||
// Use mock session handler
|
// Use mock session handler
|
||||||
$session_handler = new TestSessionHandler();
|
$session_handler = new TestSessionHandler();
|
||||||
session_set_save_handler($session_handler, TRUE);
|
session_set_save_handler($session_handler, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user