Skip to content

Commit 976076f

Browse files
committed
Fix test for AdminSessionsManager calling getUser (#22833)
1 parent 0b78cbb commit 976076f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Security/Test/Unit/Model/AdminSessionsManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function testProcessLogin()
151151
->method('getSessionId')
152152
->willReturn($sessionId);
153153

154-
$this->authSessionMock->expects($this->once())
154+
$this->authSessionMock->expects($this->any())
155155
->method('getUser')
156156
->willReturn($this->userMock);
157157
$this->userMock->expects($this->once())

0 commit comments

Comments
 (0)