Skip to content

Commit

Permalink
Try Service() instead of ServiceContainer()
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbauer committed Oct 7, 2024
1 parent fd29097 commit 5cb829f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Mocks/MockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
namespace NYPL\Services\Test\Mocks;

use NYPL\Services\ServiceContainer;
use NYPL\Starter\Service;
use Slim\Http\Environment;
use Slim\Http\Request;
use Slim\Http\Response;
Expand Down Expand Up @@ -48,7 +49,7 @@ public static function setMockEnvironment(array $serverParams = [], array $data
*/
public static function setMockContainer()
{
self::$mockContainer = new ServiceContainer();
self::$mockContainer = new Service();
$params = [
'X-NYPL-Identity' =>
'{"token":"blah","identity":{"sub":null,"scope":"openid offline_access api read:hold_request"}}'
Expand Down

0 comments on commit 5cb829f

Please sign in to comment.