You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: mysqli::real_connect(): Argument #5 ($port) must be of type ?int, string given
How to reproduce the issue?
Not sure about a specific environment settings to reproduce that error. We ware executing functional tests in our local dev environment. Tests are excuted in docker container with:
Thanks for the report. Can you plese provide more insights like a stack trace leading to this ? TYPO3 Connection Pool converts the port to an integer. Stacktrace would help to identify things.
What are you trying to achieve?
Execute functional tests.
What do you get instead?
Error:
How to reproduce the issue?
Not sure about a specific environment settings to reproduce that error. We ware executing functional tests in our local dev environment. Tests are excuted in docker container with:
vendor/bin/phpunit -c vendor/undkonsorten/our-package-folder/Tests/FunctionalTests.xml
We are settings
typo3DatabasePort=3306
as environment variable in our test container.Additional information you would like to provide?
If I cast
$databasePort
toint
in line 476 ofproject/vendor/typo3/testing-framework/Classes/Core/Testbase.php
then the error is gone.Specify some data of the environment
The text was updated successfully, but these errors were encountered: