Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[TASK] Changed tests (broken in older Magento Versions).

Updated readme.
  • Loading branch information...
commit 73a541957477b4e6cd4435eeab3cbab9925a0ee8 1 parent 1158262
@cmuench cmuench authored
View
3  changes.txt
@@ -3,9 +3,10 @@ RECENT CHANGES
**************
======
-1.75.1
+1.76.0
======
+* New commands dev:module:dependencies:on and dev:module:dependencies:from (by Dmitriy Zavalkin)
* Fixed issue #202 - Permission error on Nexcess servers
* Fixed issue #194 - Exported setup script with attribute uses incorrect Setup class (by Jonathan Day)
* Fixed issue #197 - Doesn't run when /tmp/magento/var exists and database is not created / tables missing
View
BIN  n98-magerun.phar
Binary file not shown
View
2  phpunit.xml
@@ -23,7 +23,7 @@
</testsuite>
</testsuites>
<filter>
- <whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
+ <whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
View
15 readme.rst
@@ -946,6 +946,21 @@ The command checks class inheritance in order of your module dependencies.
* If a filename with `--log-junit` option is set the tool generates an XML file and no output to *stdout*.
+Module Dependencies
+"""""""""""""""""""
+
+Show list of modules which given module depends on
+
+.. code-block:: sh
+
+ $ n98-magerun.phar dev:module:dependencies:on [-a|--all] moduleName
+
+Show list of modules which depend from module
+
+.. code-block:: sh
+
+ $ n98-magerun.phar dev:module:dependencies:from [-a|--all] moduleName
+
Observer List
"""""""""""""
View
2  src/N98/Magento/Application.php
@@ -115,7 +115,7 @@ class Application extends BaseApplication
/**
* @var string
*/
- const APP_VERSION = '1.75.1';
+ const APP_VERSION = '1.76.0';
/**
* @var string
View
7 tests/N98/Magento/Command/Developer/Module/Dependencies/FromCommandTest.php
@@ -55,18 +55,19 @@ public static function dataProviderTestExecute()
'$moduleName' => 'Mage_Admin',
'$all' => 0,
'$expectations' => array('Mage_Adminhtml'),
- '$notContains' => array('Mage_AdminNotification', 'Mage_Captcha', 'Mage_Persistent'),
+ '$notContains' => array('Mage_AdminNotification')
+ ,
),
'Mage_Admin module, with --all' => array(
'$moduleName' => 'Mage_Admin',
'$all' => 1,
- '$expectations' => array('Mage_AdminNotification', 'Mage_Adminhtml', 'Mage_Captcha', 'Mage_Persistent'),
+ '$expectations' => array('Mage_AdminNotification', 'Mage_Adminhtml'/*, 'Mage_Captcha', 'Mage_Persistent'*/),
'$notContains' => array('Mage_Compiler', 'Mage_Customer'),
),
'Mage_Admin module, with -a' => array(
'$moduleName' => 'Mage_Admin',
'$all' => 2,
- '$expectations' => array('Mage_AdminNotification', 'Mage_Adminhtml', 'Mage_Captcha', 'Mage_Persistent'),
+ '$expectations' => array('Mage_AdminNotification', 'Mage_Adminhtml'/*, 'Mage_Captcha', 'Mage_Persistent'*/),
'$notContains' => array('Mage_Compiler', 'Mage_Customer'),
),
);
View
4 tests/N98/Magento/Command/Developer/Module/Dependencies/OnCommandTest.php
@@ -60,13 +60,13 @@ public static function dataProviderTestExecute()
'Mage_Customer module, with --all' => array(
'$moduleName' => 'Mage_Customer',
'$all' => 1,
- '$expectations' => array('Mage_Core', 'Mage_Dataflow', 'Mage_Directory', 'Mage_Eav'),
+ '$expectations' => array('Mage_Core', 'Mage_Dataflow', /*'Mage_Directory',*/ 'Mage_Eav'),
'$notContains' => array(),
),
'Mage_Customer module, with -a' => array(
'$moduleName' => 'Mage_Customer',
'$all' => 2,
- '$expectations' => array('Mage_Core', 'Mage_Dataflow', 'Mage_Directory', 'Mage_Eav'),
+ '$expectations' => array('Mage_Core', 'Mage_Dataflow', /*'Mage_Directory',*/ 'Mage_Eav'),
'$notContains' => array(),
),
);
Please sign in to comment.
Something went wrong with that request. Please try again.