File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
dev/tests/api-functional/framework/Magento/TestFramework/TestCase Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ abstract class WebapiAbstract extends \PHPUnit\Framework\TestCase
23
23
/**#@+
24
24
* Auto tear down options in setFixture
25
25
*/
26
- const AUTO_TEAR_DOWN_DISABLED = 0 ;
27
- const AUTO_TEAR_DOWN_AFTER_METHOD = 1 ;
28
- const AUTO_TEAR_DOWN_AFTER_CLASS = 2 ;
26
+ public const AUTO_TEAR_DOWN_DISABLED = 0 ;
27
+ public const AUTO_TEAR_DOWN_AFTER_METHOD = 1 ;
28
+ public const AUTO_TEAR_DOWN_AFTER_CLASS = 2 ;
29
29
/**#@-*/
30
30
31
31
/**#@+
32
32
* Web API adapters that are used to perform actual calls.
33
33
*/
34
- const ADAPTER_SOAP = 'soap ' ;
35
- const ADAPTER_REST = 'rest ' ;
34
+ public const ADAPTER_SOAP = 'soap ' ;
35
+ public const ADAPTER_REST = 'rest ' ;
36
36
/**#@-*/
37
37
38
38
/**
@@ -566,7 +566,7 @@ protected function _restoreAppConfig()
566
566
public function processRestExceptionResult (\Exception $ e )
567
567
{
568
568
$ error = json_decode ($ e ->getMessage (), true );
569
- if (json_last_error () !== JSON_ERROR_NONE ) {
569
+ if (json_last_error () !== JSON_ERROR_NONE ) {
570
570
$ error ['message ' ] = $ e ->getMessage ();
571
571
}
572
572
//Remove line breaks and replace with space
You can’t perform that action at this time.
0 commit comments