Skip to content

Commit 431b293

Browse files
author
Cari Spruiell
committed
MAGETWO-38060: Fix test coverage builds
- fix unit test
1 parent db78959 commit 431b293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Integration/Test/Unit/Helper/Oauth/ConsumerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public function testCreateConsumer()
124124
$secret = $this->_generateRandomString(\Magento\Framework\Oauth\Helper\Oauth::LENGTH_CONSUMER_SECRET);
125125

126126
$consumerData = ['name' => 'Integration Name', 'key' => $key, 'secret' => $secret];
127+
$this->_consumerMock->expects($this->once())->method('setData')->will($this->returnSelf());
127128
$this->_consumerMock->expects($this->once())->method('save')->will($this->returnSelf());
128129

129130
/** @var \Magento\Integration\Model\Oauth\Consumer $consumer */

0 commit comments

Comments
 (0)