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
When I run the debug command it should say true. And when I run my test the bundle should not try to create the table and schemas.
php bin/console debug:config LiipTestFixturesBundle keep_database_and_schema
Current configuration for"liip_test_fixtures.keep_database_and_schema"
=======================================================================
true
Actual result
When I run my test LiipTestFixtureBundle try always to create the Table and Schema and Ignores my config.
I also run the command
php bin/console debug:config LiipTestFixturesBundle keep_database_and_schema
Current configuration for"liip_test_fixtures.keep_database_and_schema"
=======================================================================
false
Thes are my logs from the tests.
php -d memory_limit=4G vendor/bin/phpunit
-------------------- ---------------------------------
Logs
-------------------- ---------------------------------
PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Object is invalid. Extended properties are not permitted on 'dbo.[user].roles', or the object does not exist.
/var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:32
/var/www/html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:46
/var/www/html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:46
/var/www/html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:46
/var/www/html/vendor/doctrine/dbal/src/Logging/Connection.php:50
/var/www/html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:46
/var/www/html/vendor/symfony/doctrine-bridge/Middleware/Debug/Connection.php:74
/var/www/html/vendor/doctrine/dbal/src/Connection.php:1204
/var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/SchemaTool.php:106
/var/www/html/vendor/liip/test-fixtures-bundle/src/Services/DatabaseTools/ORMDatabaseTool.php:113
The text was updated successfully, but these errors were encountered:
Thank you for your anwser. You are right with --env=test the output is correct. Yes I also believe that the bundle is not compatible with SQL server. I did not manage to get it work.
alexislefebvre
changed the title
[Bug]: keep_database_and_schema config is ignored it is always false
[Bug]: keep_database_and_schema config is ignored it is always false with SQL Server
Sep 1, 2023
Preconditions
Steps to reproduce
Creating config file for liip.
Expected result
When I run the debug command it should say true. And when I run my test the bundle should not try to create the table and schemas.
Actual result
When I run my test LiipTestFixtureBundle try always to create the Table and Schema and Ignores my config.
I also run the command
Thes are my logs from the tests.
The text was updated successfully, but these errors were encountered: