@@ -88,7 +88,7 @@ class AdobeImsTokenUserContextTest extends WebapiAbstract
88
88
protected function setUp (): void
89
89
{
90
90
parent ::setUp ();
91
-
91
+ $ this -> _markTestAsRestOnly ();
92
92
$ objectManager = Bootstrap::getObjectManager ();
93
93
$ this ->manager = $ objectManager ->get (JwtManagerInterface::class);
94
94
$ this ->cache = $ objectManager ->get (CacheInterface::class);
@@ -106,7 +106,6 @@ protected function setUp(): void
106
106
*/
107
107
public function testUseAdobeAccessTokenModuleDisabled ()
108
108
{
109
- $ this ->_markTestAsRestOnly ();
110
109
$ this ->configWriter ->save (ImsConfig::XML_PATH_ENABLED , 0 );
111
110
$ this ->scopeConfig ->clean ();
112
111
@@ -135,7 +134,6 @@ public function testUseAdobeAccessTokenModuleDisabled()
135
134
*/
136
135
public function testUseAdobeAccessTokenSuccess ()
137
136
{
138
- $ this ->_markTestAsRestOnly ();
139
137
$ adminUserNameFromFixture = 'webapi_user ' ;
140
138
$ token = $ this ->createAccessToken ();
141
139
$ this ->configWriter ->save (ImsConfig::XML_PATH_ENABLED , 1 );
@@ -150,7 +148,6 @@ public function testUseAdobeAccessTokenSuccess()
150
148
*/
151
149
public function testUseAdobeAccessTokenAdminNotExist ()
152
150
{
153
- $ this ->_markTestAsRestOnly ();
154
151
$ token = $ this ->createAccessToken ();
155
152
$ noExceptionOccurred = false ;
156
153
try {
@@ -175,7 +172,6 @@ public function testUseAdobeAccessTokenAdminNotExist()
175
172
*/
176
173
public function testUseAdobeAccessTokenExpired ()
177
174
{
178
- $ this ->_markTestAsRestOnly ();
179
175
$ token = $ this ->createAccessToken ('-2 day ' );
180
176
181
177
$ noExceptionOccurred = false ;
@@ -204,7 +200,6 @@ public function testUseAdobeAccessTokenExpired()
204
200
*/
205
201
public function testUseAdobeAccessTokenInvalidCertificate ()
206
202
{
207
- $ this ->_markTestAsRestOnly ();
208
203
$ token = $ this ->createAccessToken ('now ' , true );
209
204
210
205
$ noExceptionOccurred = false ;
0 commit comments