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
2323 /**#@+
2424 * Auto tear down options in setFixture
2525 */
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 ;
2929 /**#@-*/
3030
3131 /**#@+
3232 * Web API adapters that are used to perform actual calls.
3333 */
34- const ADAPTER_SOAP = 'soap ' ;
35- const ADAPTER_REST = 'rest ' ;
34+ public const ADAPTER_SOAP = 'soap ' ;
35+ public const ADAPTER_REST = 'rest ' ;
3636 /**#@-*/
3737
3838 /**
@@ -566,7 +566,7 @@ protected function _restoreAppConfig()
566566 public function processRestExceptionResult (\Exception $ e )
567567 {
568568 $ error = json_decode ($ e ->getMessage (), true );
569- if (json_last_error () !== JSON_ERROR_NONE ) {
569+ if (json_last_error () !== JSON_ERROR_NONE ) {
570570 $ error ['message ' ] = $ e ->getMessage ();
571571 }
572572 //Remove line breaks and replace with space
You can’t perform that action at this time.
0 commit comments