M
M
MiroMichail2015-03-26 02:35:38
PHPUnit
MiroMichail, 2015-03-26 02:35:38

PHPUnit autoload how to configure?

I understand with crm Zurmo (Based on the Yii framework) I can’t get unit tests to work. When run it gives:
PHP Fatal error: Class 'ZurmoBaseTest' not found in /zurmo/app/protected/modules/emailTemplates/tests/unit/EmailTemplateTest.php on line 38
Fatal error: Class 'ZurmoBaseTest' not found in /zurmo/app /protected/modules/emailTemplates/tests/unit/EmailTemplateTest.php on line 38
I realized that the problem is with autoload, but I can't figure out how to fix it. Maybe someone has come across this. Or just someone who has worked with PHPUnit will be able to explain how autoload happens there and how to integrate it into the system.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question