Skip to content

Commit 5bd28a6

Browse files
committed
Fixed Static test issues
1 parent 722a6ca commit 5bd28a6

File tree

2 files changed

+3
-3
lines changed
  • dev/tests
    • api-functional/framework/Magento/TestFramework/Authentication/Rest
    • integration/testsuite/Magento/Integration/Model/ResourceModel/Oauth

2 files changed

+3
-3
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/Authentication/Rest/OauthClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class OauthClient extends AbstractService
2626
/**
2727
* The maximum timeout for http request in seconds
2828
*/
29-
const DEFAULT_TIMEOUT = 120;
29+
public const DEFAULT_TIMEOUT = 120;
3030

3131
/** @var string|null */
3232
protected $_oauthVerifier = null;

dev/tests/integration/testsuite/Magento/Integration/Model/ResourceModel/Oauth/TokenTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
*/
1818
class TokenTest extends \PHPUnit\Framework\TestCase
1919
{
20-
const TOKEN_LIFETIME = 1; // in hours
20+
public const TOKEN_LIFETIME = 1; // in hours
2121

22-
const BASE_CREATED_AT_TIMESTAMP = 100000;
22+
public const BASE_CREATED_AT_TIMESTAMP = 100000;
2323

2424
/**
2525
* @var array

0 commit comments

Comments
 (0)