From d2f3f191286913c0b6ef0f760b33cc934f99a9a3 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sat, 6 Aug 2022 16:16:18 -0400 Subject: [PATCH] Fix failures --- tests/lib/AbstractTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lib/AbstractTest.php b/tests/lib/AbstractTest.php index 77653ee8..53467aa5 100644 --- a/tests/lib/AbstractTest.php +++ b/tests/lib/AbstractTest.php @@ -112,6 +112,7 @@ abstract class AbstractTest extends \PHPUnit\Framework\TestCase { } $server = array_merge($server, $vars); $req = new ServerRequest($method, $url, $headers, $body, "1.1", $server); + $req = $req->withParsedBody($parsedBody)->withQueryParams($params); if (isset($user)) { if (strlen($user)) { $req = $req->withAttribute("authenticated", true)->withAttribute("authenticatedUser", $user);