Skip to content

Commit

Permalink
[TASK] Changed tests (broken in older Magento Versions).
Browse files Browse the repository at this point in the history
Updated readme.
  • Loading branch information
cmuench committed Aug 26, 2013
1 parent 1158262 commit 73a5419
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 8 deletions.
3 changes: 2 additions & 1 deletion changes.txt
Expand Up @@ -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
Expand Down
Binary file modified n98-magerun.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion phpunit.xml
Expand Up @@ -23,7 +23,7 @@
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
Expand Down
15 changes: 15 additions & 0 deletions readme.rst
Expand Up @@ -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
"""""""""""""
Expand Down
2 changes: 1 addition & 1 deletion src/N98/Magento/Application.php
Expand Up @@ -115,7 +115,7 @@ class Application extends BaseApplication
/**
* @var string
*/
const APP_VERSION = '1.75.1';
const APP_VERSION = '1.76.0';

/**
* @var string
Expand Down
Expand Up @@ -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'),
),
);
Expand Down
Expand Up @@ -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(),
),
);
Expand Down

0 comments on commit 73a5419

Please sign in to comment.