@@ -58,14 +58,14 @@ public function testConstructor()
58
58
59
59
60
60
/**
61
- * @param array $authHeaderContent
61
+ * @param array $authHeader
62
62
* @dataProvider provideInvalidAuthenticationHeader
63
63
*/
64
- public function testIsAuthenticatedWithInvalidData (array $ authHeaderContent )
64
+ public function testIsAuthenticatedWithInvalidData (array $ authHeader )
65
65
{
66
66
$ this ->request
67
67
->getHeader ('Authorization ' )
68
- ->willReturn ($ authHeaderContent );
68
+ ->willReturn ($ authHeader );
69
69
70
70
$ this ->userRepository ->authenticate (Argument::any (), Argument::any ())->shouldNotBeCalled ();
71
71
@@ -80,14 +80,14 @@ public function testIsAuthenticatedWithInvalidData(array $authHeaderContent)
80
80
/**
81
81
* @param string $username
82
82
* @param string $password
83
- * @param array $header
83
+ * @param array $authHeader
84
84
* @dataProvider provideValidAuthentication
85
85
*/
86
- public function testIsAuthenticatedWithValidCredential (string $ username , string $ password , array $ header )
86
+ public function testIsAuthenticatedWithValidCredential (string $ username , string $ password , array $ authHeader )
87
87
{
88
88
$ this ->request
89
89
->getHeader ('Authorization ' )
90
- ->willReturn ($ header );
90
+ ->willReturn ($ authHeader );
91
91
$ this ->request
92
92
->withAttribute (UserInterface::class, Argument::type (UserInterface::class))
93
93
->willReturn ($ this ->request ->reveal ());
0 commit comments