Skip to content

Commit e702c94

Browse files
committed
MC-33069: Stabilize Unit tests
1 parent 9a81af0 commit e702c94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Integration/Test/Unit/Controller/Token/AccessTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ public function testAccessAction()
167167
$this->helperMock->expects($this->once())
168168
->method('getRequestUrl');
169169
$this->helperMock->expects($this->once())
170-
->method('prepareRequest');
170+
->method('prepareRequest')
171+
->willReturn(['oauth_consumer_key' => 'oauth_key']);
171172
$this->frameworkOauthSvcMock->expects($this->once())
172173
->method('getAccessToken')
173174
->willReturn(['response']);

0 commit comments

Comments
 (0)