Skip to content

Commit 0b6c6ba

Browse files
Cari Spruiellisitnikov
authored andcommitted
MAGETWO-51292: [GITHUB] OAuth Token Exchange Expiration Period Is Not Calculated Correctly #3449
- fixed api-functional test
1 parent 237734e commit 0b6c6ba

File tree

1 file changed

+2
-0
lines changed
  • dev/tests/api-functional/testsuite/Magento/Webapi/Authentication

1 file changed

+2
-0
lines changed

dev/tests/api-functional/testsuite/Magento/Webapi/Authentication/RestTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public function testGetRequestToken()
9090
public function testGetRequestTokenExpiredConsumer()
9191
{
9292
$this::consumerFixture('2012-01-01 00:00:00');
93+
$this::$_consumer->setUpdatedAt('2012-01-01 00:00:00');
94+
$this::$_consumer->save();
9395
/** @var $oAuthClient \Magento\TestFramework\Authentication\Rest\OauthClient */
9496
$oAuthClient = $this->_getOauthClient(self::$_consumerKey, self::$_consumerSecret);
9597
$oAuthClient->requestRequestToken();

0 commit comments

Comments
 (0)