diff --git a/tests/RequestBridgeTest.php b/tests/RequestBridgeTest.php index 3fb5d94..585616a 100644 --- a/tests/RequestBridgeTest.php +++ b/tests/RequestBridgeTest.php @@ -25,27 +25,10 @@ final class RequestBridgeTest extends \PHPUnit_Framework_TestCase public function toOAuth2() { $uri = 'https://example.com/foo/bar'; - - $headers = [ - 'Host' => ['example.com'], - 'Accept' => ['application/json', 'text/json'], - ]; - - $cookies = [ - 'PHPSESSID' => uniqid(), - ]; - - $server = [ - 'SCRIPT_NAME' => __FILE__, - 'SCRIPT_FILENAME' => __FILE__, - ]; - - $json = json_encode( - [ - 'foo' => 'bar', - 'abc' => '123', - ] - ); + $headers = ['Host' => ['example.com'], 'Accept' => ['application/json', 'text/json']]; + $cookies = ['PHPSESSID' => uniqid()]; + $server = ['SCRIPT_NAME' => __FILE__, 'SCRIPT_FILENAME' => __FILE__]; + $json = json_encode(['foo' => 'bar', 'abc' => '123']); $stream = fopen('php://memory', 'r+'); fwrite($stream, $json);