You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2023. It is now read-only.
Hi!
I'm trying to write some tests for a custom admin module and one of the things I need to check is the menu item existence, but it seems that my adminhtml.xml are not being loaded inside the test cases.
This is what I tried so far:
<?phpclassMyModule_Adminsample_Test_Config_GlobalextendsEcomDev_PHPUnit_Test_Case_Config
{
/* ... some tests ... */publicfunctiontestAdminMenuPosition()
{
$this->assertConfigNodeHasChild('adminhtml/menu/catalog/children', 'mymodule_adminsample_index');
}
/* ... some other tests ... */
}
The XML is okay (the menu item is showing on the page, under the catalog menu as expected), I var_dump'ed the config and noticed that everything I have in any adminhtml.xml is not being loaded.
I also tried to force loading them using the following, without success:
Hi!
I'm trying to write some tests for a custom admin module and one of the things I need to check is the menu item existence, but it seems that my adminhtml.xml are not being loaded inside the test cases.
This is what I tried so far:
The XML is okay (the menu item is showing on the page, under the catalog menu as expected), I var_dump'ed the config and noticed that everything I have in any adminhtml.xml is not being loaded.
I also tried to force loading them using the following, without success:
Am I missing something here or is it really a bug/limitation?
Thanks for the attention!
The text was updated successfully, but these errors were encountered: