Problem/Motivation
Warning: Declaration of MenuNodeAPIBasicTestCase::setUp() should be compatible with MenuNodeAPITestCase::setUp($modules = Array) in include_once() (line 3517 of /var/www/html/public/includes/bootstrap.inc).
Warning: Declaration of MenuNodeAPIHookTestCase::setUp() should be compatible with MenuNodeAPITestCase::setUp($modules = Array) in include_once() (line 3517 of /var/www/html/public/includes/bootstrap.inc).
Steps to reproduce
Enable simpletest and go to the listing page with error messages enabled.
Proposed resolution
Match the declaration
API changes
Changed the visibility to protected to match base class.
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3243877-2-test-declaration-setup-match.patch | 1.08 KB | joelpittet |
Comments
Comment #2
joelpittetComment #3
vuilComment #5
vuil