Hi all,
I've installed Simpletest and I'm facing conflicts with Pathauto.
When I want to go to the testing page I have this php error :
Fatal error: Cannot redeclare class PathautoUnitTestCase in [...]\www\sites\all\modules\pathauto\tests\pathauto.test on line 43
Does someone know what to do in order to solve that problem?
Thanks in advance.
Comments
Comment #1
dave reidDo you have Pathauto downloaded to in multiple locations in your file system?
Comment #2
Balth commentedI have only one "pathauto" folder.
But, and that the cause of the problem , this file contains two file"pathauto.test".
One at the root and the other one in ./test/
In these documents is declared the same class extending differents mothers
class PathautoUnitTestCase extends DrupalWebTestCase {
class PathautoUnitTestCase extends PathautoTestHelper {
I don't understand...
Comment #3
Balth commentedComment #4
dave reidAh, so that probably means that at some point we moved the file, and when you updated the module you probably didn't delete the old module files before copying over the new ones. Try doing exactly that - delete the module folder and copy in the latest release.
Comment #5
Balth commentedIt works! Thank you !
Best regards
Comment #6
alex.pilon commentedThanks