diff --git a/src/TokenType/MAC.php b/src/TokenType/MAC.php index 1eb3b930..54a40ef2 100644 --- a/src/TokenType/MAC.php +++ b/src/TokenType/MAC.php @@ -105,7 +105,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface $timestamp, $nonce, strtoupper($request->getMethod()), - $request->getUri(), + $request->getRequestUri(), $request->getHost(), $request->getPort(), ]; diff --git a/tests/unit/TokenType/MacTest.php b/tests/unit/TokenType/MacTest.php index fce568fa..f0fc2fc2 100644 --- a/tests/unit/TokenType/MacTest.php +++ b/tests/unit/TokenType/MacTest.php @@ -52,7 +52,7 @@ class MacTest extends \PHPUnit_Framework_TestCase $ts, 'foo', strtoupper($request->getMethod()), - $request->getUri(), + $request->getRequestUri(), $request->getHost(), $request->getPort(), 'ext'