Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit b7a8388

Browse files
committed
#8 remove variable naming inconsistencies
1 parent 17aa40e commit b7a8388

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/BasicAccessTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ public function testConstructor()
5858

5959

6060
/**
61-
* @param array $authHeaderContent
61+
* @param array $authHeader
6262
* @dataProvider provideInvalidAuthenticationHeader
6363
*/
64-
public function testIsAuthenticatedWithInvalidData(array $authHeaderContent)
64+
public function testIsAuthenticatedWithInvalidData(array $authHeader)
6565
{
6666
$this->request
6767
->getHeader('Authorization')
68-
->willReturn($authHeaderContent);
68+
->willReturn($authHeader);
6969

7070
$this->userRepository->authenticate(Argument::any(), Argument::any())->shouldNotBeCalled();
7171

@@ -80,14 +80,14 @@ public function testIsAuthenticatedWithInvalidData(array $authHeaderContent)
8080
/**
8181
* @param string $username
8282
* @param string $password
83-
* @param array $header
83+
* @param array $authHeader
8484
* @dataProvider provideValidAuthentication
8585
*/
86-
public function testIsAuthenticatedWithValidCredential(string $username, string $password, array $header)
86+
public function testIsAuthenticatedWithValidCredential(string $username, string $password, array $authHeader)
8787
{
8888
$this->request
8989
->getHeader('Authorization')
90-
->willReturn($header);
90+
->willReturn($authHeader);
9191
$this->request
9292
->withAttribute(UserInterface::class, Argument::type(UserInterface::class))
9393
->willReturn($this->request->reveal());

0 commit comments

Comments
 (0)