File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/Magento/FunctionalTestingFramework/StaticCheck Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2020 * Class ActionGroupArgumentsCheck
2121 * @package Magento\FunctionalTestingFramework\StaticCheck
2222 */
23- class ActionGroupArgumentsCheck implements StaticCheckInterface
23+ class ActionGroupStandardsCheck implements StaticCheckInterface
2424{
2525 const ACTIONGROUP_NAME_REGEX_PATTERN = '/<actionGroup name=[" \']([^ \'"]*)/ ' ;
26- const ERROR_LOG_FILENAME = 'mftf-arguments -checks ' ;
26+ const ERROR_LOG_FILENAME = 'mftf-standards -checks ' ;
2727 const ERROR_LOG_MESSAGE = 'MFTF Action Group Unused Arguments Check ' ;
2828 const STEP_KEY_REGEX_PATTERN = '/stepKey=[" \']([^ \'"]*)/ ' ;
2929
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ class StaticChecksList implements StaticCheckListInterface
2020 const PAUSE_ACTION_USAGE_CHECK_NAME = 'pauseActionUsage ' ;
2121 const CREATED_DATA_FROM_OUTSIDE_ACTIONGROUP = 'createdDataFromOutsideActionGroup ' ;
2222 const UNUSED_ENTITY_CHECK = 'unusedEntityCheck ' ;
23- const DUPLICATE_STEP_KEYS = 'duplicateStepKeys ' ;
2423 const STATIC_RESULTS = 'tests ' . DIRECTORY_SEPARATOR .'_output ' . DIRECTORY_SEPARATOR . 'static-results ' ;
2524
2625 /**
@@ -47,13 +46,12 @@ public function __construct(array $checks = [])
4746 {
4847 $ this ->checks = [
4948 'testDependencies ' => new TestDependencyCheck (),
50- 'actionGroupArguments ' => new ActionGroupArgumentsCheck (),
49+ 'actionGroupStandards ' => new ActionGroupStandardsCheck (),
5150 self ::DEPRECATED_ENTITY_USAGE_CHECK_NAME => new DeprecatedEntityUsageCheck (),
5251 'annotations ' => new AnnotationsCheck (),
5352 self ::PAUSE_ACTION_USAGE_CHECK_NAME => new PauseActionUsageCheck (),
5453 self ::UNUSED_ENTITY_CHECK => new UnusedEntityCheck (),
5554 self ::CREATED_DATA_FROM_OUTSIDE_ACTIONGROUP => new CreatedDataFromOutsideActionGroupCheck (),
56- self ::DUPLICATE_STEP_KEYS => new DuplicateStepKeysCheck ()
5755 ] + $ checks ;
5856
5957 // Static checks error files directory
You can’t perform that action at this time.
0 commit comments