From a70acdf9cb9aa3a782a695142fffc7d6914a3852 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 20 Mar 2020 17:28:58 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- framework/core/tests/integration/TestCase.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/framework/core/tests/integration/TestCase.php b/framework/core/tests/integration/TestCase.php index 6e99a778e..ea22a5a42 100644 --- a/framework/core/tests/integration/TestCase.php +++ b/framework/core/tests/integration/TestCase.php @@ -159,21 +159,24 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase // Do we want a JSON request body? if (isset($options['json'])) { $request = $this->requestWithJsonBody( - $request, $options['json'] + $request, + $options['json'] ); } // Authenticate as a given user if (isset($options['authenticatedAs'])) { $request = $this->requestAsUser( - $request, $options['authenticatedAs'] + $request, + $options['authenticatedAs'] ); } // Let's copy the cookies from a previous response if (isset($options['cookiesFrom'])) { $request = $this->requestWithCookiesFrom( - $request, $options['cookiesFrom'] + $request, + $options['cookiesFrom'] ); }