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

Commit 3b538b3

Browse files
committed
#8 assert that invalid data never tries to authenticate
1 parent e541416 commit 3b538b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/BasicAccessTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public function testIsAuthenticatedWithInvalidData(array $authHeaderContent)
6767
->getHeader('Authorization')
6868
->willReturn($authHeaderContent);
6969

70+
$this->userRepository->authenticate(Argument::any(), Argument::any())->shouldNotBeCalled();
71+
7072
$basicAccess = new BasicAccess(
7173
$this->userRepository->reveal(),
7274
'test',

0 commit comments

Comments
 (0)