@@ -18,7 +18,7 @@ public function testHandleRequestInvalidAuthKey() {
1818
1919 $ this ->setUpController ($ controller , $ container , $ request , $ apiHandler );
2020
21- $ container ->expects ($ this ->once ())->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
21+ $ container ->expects ($ this ->once ())->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
2222
2323 $ actionResponse = $ controller ->handleRequestAction ('invalidAuthKey ' , 'v1 ' );
2424
@@ -29,7 +29,7 @@ public function testHandleRequestInvalidApiVersion() {
2929
3030 $ this ->setUpController ($ controller , $ container , $ request , $ apiHandler );
3131
32- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
32+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
3333 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v2 ' ));
3434
3535 $ actionResponse = $ controller ->handleRequestAction ('anAuthKey ' , 'v1 ' );
@@ -41,7 +41,7 @@ public function testHandleRequestEmptyRequest() {
4141
4242 $ this ->setUpController ($ controller , $ container , $ request , $ apiHandler );
4343
44- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
44+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
4545 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v1 ' ));
4646
4747 $ controller ->expects ($ this ->once ())->method ('getRequest ' )->will ($ this ->returnValue ($ request ));
@@ -56,7 +56,7 @@ public function testHandleRequestInvalidJsonDecodesToFalse() {
5656
5757 $ this ->setUpController ($ controller , $ container , $ request , $ apiHandler );
5858
59- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
59+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
6060 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v1 ' ));
6161
6262 $ controller ->expects ($ this ->once ())->method ('getRequest ' )->will ($ this ->returnValue ($ request ));
@@ -71,7 +71,7 @@ public function testHandleRequestNoDataKeyInRequest() {
7171
7272 $ this ->setUpController ($ controller , $ container , $ request , $ apiHandler );
7373
74- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
74+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
7575 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v1 ' ));
7676
7777 $ controller ->expects ($ this ->once ())->method ('getRequest ' )->will ($ this ->returnValue ($ request ));
@@ -93,7 +93,7 @@ public function testHandleRequestCompileRequest() {
9393
9494 $ controller ->setContainer ($ container );
9595
96- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
96+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
9797 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v1 ' ));
9898
9999 $ controller ->expects ($ this ->once ())->method ('getRequest ' )->will ($ this ->returnValue ($ request ));
@@ -117,7 +117,7 @@ public function testHandleRequestLibraryRequest() {
117117
118118 $ controller ->setContainer ($ container );
119119
120- $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('auth_key ' )->will ($ this ->returnValue ('anAuthKey ' ));
120+ $ container ->expects ($ this ->at (0 ))->method ('getParameter ' )->with ('authorizationKey ' )->will ($ this ->returnValue ('anAuthKey ' ));
121121 $ container ->expects ($ this ->at (1 ))->method ('getParameter ' )->with ('version ' )->will ($ this ->returnValue ('v1 ' ));
122122
123123 $ controller ->expects ($ this ->once ())->method ('getRequest ' )->will ($ this ->returnValue ($ request ));
0 commit comments