Skip to content

Commit 71bb6da

Browse files
committed
AC-14075::Replace carlos-mg89/oauth with PHP Native Functions
1 parent 1a07d9a commit 71bb6da

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/api-functional/framework/Magento/TestFramework/Authentication/Rest

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,15 @@ public function getAccessTokenEndpoint(): string
272272
{
273273
return $this->urlProvider->getRebuiltUrl(TESTS_BASE_URL . '/oauth/token/access');
274274
}
275-
275+
276276
/**
277277
* Returns the TestModule1 Rest API endpoint.
278278
*
279279
* @return string
280280
*/
281281
public function getTestApiEndpoint(): string
282282
{
283+
/** @phpstan-ignore-next-line */
283284
$defaultStoreCode = Bootstrap::getObjectManager()->get(\Magento\Store\Model\StoreManagerInterface::class)
284285
->getStore()->getCode();
285286
return $this->urlProvider->getRebuiltUrl(TESTS_BASE_URL . '/rest/' . $defaultStoreCode . '/V1/testmodule1');

0 commit comments

Comments
 (0)