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
5959 */
6060 public const MAP_TYPE_REDUNDANT = 'redundant ' ;
6161
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+
6268 /**
6369 * Count of directories in path
6470 */
@@ -869,7 +875,7 @@ public function testRedundant()
869875 }
870876 }
871877 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 ));
873879 }
874880 }
875881
You can’t perform that action at this time.
0 commit comments