AOEpeople/felogin_bruteforce_protection

[BUG] Unit tests do not work in TYPO3 7 (master) branch

vdespa opened this issue · 0 comments

When running the unit tests using Travis CI the following error occurs:

PHP Fatal error: Class 'Aoe\FeloginBruteforceProtection\Tests\Unit\Domain\Service\RestrictionServiceClientIpAbstract' not found in /home/travis/build/AOEpeople/typo3conf/ext/felogin_bruteforce_protection/Tests/Unit/Domain/Service/RestrictionServiceClientIpRemoteAddressTest.php on line 32

See the detailed stack trace on Travis: https://travis-ci.org/AOEpeople/felogin_bruteforce_protection/jobs/81343950

After this issue is fixed, the commit 5e0ea09 should be reverted.

Most likely we need to build an autoloader for abstract test classes or other classes with are not test classes and to define in inside composer.json.