File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
dev/tests/static/testsuite/Magento/Test/Integrity Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ class DependencyTest extends \PHPUnit\Framework\TestCase
59
59
*/
60
60
public const MAP_TYPE_REDUNDANT = 'redundant ' ;
61
61
62
+ /**
63
+ * Redundant dependencies error message
64
+ */
65
+ public const UNUSED_DEPENDENCY_ERROR_MSG =
66
+ 'Some dependencies required by composer.json are not used in the module and must be removed: ' ;
67
+
62
68
/**
63
69
* Count of directories in path
64
70
*/
@@ -869,7 +875,7 @@ public function testRedundant()
869
875
}
870
876
}
871
877
if (!empty ($ output )) {
872
- $ this ->fail (" Redundant dependencies found! \r\n" . implode (' ' , $ output ));
878
+ $ this ->fail (self :: UNUSED_DEPENDENCY_ERROR_MSG . " \r\n" . implode (' ' , $ output ));
873
879
}
874
880
}
875
881
You can’t perform that action at this time.
0 commit comments