mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix failures
This commit is contained in:
parent
459e44e041
commit
d2f3f19128
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ abstract class AbstractTest extends \PHPUnit\Framework\TestCase {
|
||||||
}
|
}
|
||||||
$server = array_merge($server, $vars);
|
$server = array_merge($server, $vars);
|
||||||
$req = new ServerRequest($method, $url, $headers, $body, "1.1", $server);
|
$req = new ServerRequest($method, $url, $headers, $body, "1.1", $server);
|
||||||
|
$req = $req->withParsedBody($parsedBody)->withQueryParams($params);
|
||||||
if (isset($user)) {
|
if (isset($user)) {
|
||||||
if (strlen($user)) {
|
if (strlen($user)) {
|
||||||
$req = $req->withAttribute("authenticated", true)->withAttribute("authenticatedUser", $user);
|
$req = $req->withAttribute("authenticated", true)->withAttribute("authenticatedUser", $user);
|
||||||
|
|
Loading…
Reference in a new issue