Now my module has two main files:
- menu_perm.module
- menu_perm.admin.inc
I added second file to .info:
files[] = menu_perm.admin.inc
I cleared the cache.
In my test class (PHPUnit) file I am bootrapping Drupal by:
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
and I call form submit function manually inside test function, ends with below error:
Call to undefined function menu_perm_user_form_submit()
Function is in menu_perm.admin.inc.
Before this everything was ok.
What am I doing wrong here?