liip / LiipFunctionalTestBundle

Some helper classes for writing functional tests in Symfony
http://liip.ch
MIT License
639 stars 182 forks source link

Restore test with max_query_count: 1 #606

Open alexislefebvre opened 2 years ago

alexislefebvre commented 2 years ago

One test of AllowedQueriesExceededException and some other things were broken on the main branch, I fixed these issues in another PR: #604 I'm not happy with the change of max_query_count from 1 to 0 in the internal tests but if it allow to have a version compatible with Symfony 6, it will be worth it.

Originally posted by @alexislefebvre in https://github.com/liip/LiipFunctionalTestBundle/issues/598#issuecomment-1126584504


Here is the related commit: https://github.com/liip/LiipFunctionalTestBundle/pull/604/commits/93a080a3adf9dfef6cc434c50fc092c90cca42c9


It looks like the queries to database are not counted properly.