Skip to content

Commit e37b3c1

Browse files
authored
Merge pull request #443 from magento-performance/CABPI-394
CABPI-394: Fix Failed WebAPI Tests
2 parents 6e5c5ab + 32b3e6d commit e37b3c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dev/tests/api-functional/testsuite/Magento/AdminAdobeIms/Authorization/AdobeImsTokenUserContextTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class AdobeImsTokenUserContextTest extends WebapiAbstract
8888
protected function setUp(): void
8989
{
9090
parent::setUp();
91-
91+
$this->_markTestAsRestOnly();
9292
$objectManager = Bootstrap::getObjectManager();
9393
$this->manager = $objectManager->get(JwtManagerInterface::class);
9494
$this->cache = $objectManager->get(CacheInterface::class);
@@ -106,7 +106,6 @@ protected function setUp(): void
106106
*/
107107
public function testUseAdobeAccessTokenModuleDisabled()
108108
{
109-
$this->_markTestAsRestOnly();
110109
$this->configWriter->save(ImsConfig::XML_PATH_ENABLED, 0);
111110
$this->scopeConfig->clean();
112111

@@ -135,7 +134,6 @@ public function testUseAdobeAccessTokenModuleDisabled()
135134
*/
136135
public function testUseAdobeAccessTokenSuccess()
137136
{
138-
$this->_markTestAsRestOnly();
139137
$adminUserNameFromFixture = 'webapi_user';
140138
$token = $this->createAccessToken();
141139
$this->configWriter->save(ImsConfig::XML_PATH_ENABLED, 1);
@@ -150,7 +148,6 @@ public function testUseAdobeAccessTokenSuccess()
150148
*/
151149
public function testUseAdobeAccessTokenAdminNotExist()
152150
{
153-
$this->_markTestAsRestOnly();
154151
$token = $this->createAccessToken();
155152
$noExceptionOccurred = false;
156153
try {
@@ -175,7 +172,6 @@ public function testUseAdobeAccessTokenAdminNotExist()
175172
*/
176173
public function testUseAdobeAccessTokenExpired()
177174
{
178-
$this->_markTestAsRestOnly();
179175
$token = $this->createAccessToken('-2 day');
180176

181177
$noExceptionOccurred = false;
@@ -204,7 +200,6 @@ public function testUseAdobeAccessTokenExpired()
204200
*/
205201
public function testUseAdobeAccessTokenInvalidCertificate()
206202
{
207-
$this->_markTestAsRestOnly();
208203
$token = $this->createAccessToken('now', true);
209204

210205
$noExceptionOccurred = false;

0 commit comments

Comments
 (0)