Skip to content

core functional tests does not work if checkout directory is called 'typo3' #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lolli42 opened this issue Feb 19, 2025 · 0 comments
Open

Comments

@lolli42
Copy link
Member

lolli42 commented Feb 19, 2025

git clone https://github.com/typo3/typo3
cd typo3
Build/Scripts/runTests.sh -s composerInstall
Build/Scripts/runTests.sh -x -s functional typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php

->

1) TYPO3\CMS\Core\Tests\Functional\Authentication\AbstractUserAuthenticationTest::pushModuleDataDoesNotRevealPlainSessionId
Error: Call to a member function getRealPath() on null

/var/www/local/git/typo3/vendor/typo3/testing-framework/Classes/Core/Testbase.php:369
/var/www/local/git/typo3/vendor/typo3/testing-framework/Classes/Core/Functional/FunctionalTestCase.php:340
/var/www/local/git/typo3/bin/phpunit:122

This only happens if the project is cloned to a directory name called typo3. if cloning to typo3-foo, all is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant