liip / LiipFunctionalTestBundle

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

[2.x][3.x] Remove BC layers when possible #520

Closed alexislefebvre closed 5 years ago

alexislefebvre commented 5 years ago

Don't miss reverting depending on how we manage to fix https://github.com/symfony/symfony/issues/31762

Originally posted by @nicolas-grekas in https://github.com/liip/LiipFunctionalTestBundle/pull/519

Roadmap:

gnutix commented 5 years ago

@alexislefebvre symfony 4.3.1 has been released!

alexislefebvre commented 5 years ago

Now BC layers are broken by fixes that reverted BC breaks :upside_down_face:, see #519 and #521

alexislefebvre commented 5 years ago

Fixed in #522 and #523 but tests are broken. :thinking:

alexislefebvre commented 5 years ago

A new error appeared with Symfony 4.3.1 and is visible in #523:

TypeError: Argument 1 passed to Symfony\Bundle\FrameworkBundle\Test\WebTestCase::getClient() must be an instance of Symfony\Bundle\FrameworkBundle\KernelBrowser or null, instance of Liip\FunctionalTestBundle\QueryCountClient given, called in /home/travis/build/liip/LiipFunctionalTestBundle/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php on line 55

(source: https://travis-ci.org/liip/LiipFunctionalTestBundle/jobs/542656030 )

It is triggered by the following configuration:

liip_functional_test:
    query:
        max_query_count: 1
alexislefebvre commented 5 years ago

Please see #526

alexislefebvre commented 5 years ago

Last 3.x release which should work with Symfony 4.3.1 (and 3.4, etc.): https://github.com/liip/LiipFunctionalTestBundle/releases/tag/3.0.0-RC2

alexislefebvre commented 5 years ago

Fixed by #526 and #527.