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
Hi @hantsy! We're currently working on the big tc-php update to align its implementation closer with others. Could you pls check the 0.2 branch from GitHub (https://github.com/testcontainers/testcontainers-php/tree/0.2)? It's not released yet, but probably it will solve the issues you have.
I have updated packages to
testcontainrs/testcontainers
.I followed the guide in the readme, created a
TestConnectionFactory
, and declared in the config/packages/test/services.yml.But when running the tests, it can not find the host
127.0.0.1
and port5432
.Check the test file: https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/tests/Repository/PostRepositoryTestWithTestConnectionFactory.php
And services.yml file: https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/config/packages/test/services.yml
And the
TestConnnectionFactory
file :https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/tests/TestConnectionFactory.phpIt seems the
TestConnectonFactory
is not applied at all.The text was updated successfully, but these errors were encountered: