Releases: Codeception/module-symfony
2.0.0
- New:
- Added Twig assertions:
seeCurrentTemplateIs,seeRenderedTemplateanddontSeeRenderedTemplate. - The
grabSentEmailsandgrabLastSentEmailfunctions were added. - Added
SeeOrphanEventanddontSeeOrphanEventassertions. - The
$urlparameter is now optional in theseePageIsAvailableassertion.
- Added Twig assertions:
- BC:
Symfony 3.4support removed.Symfony 4.4or higher is now required.- Support for
Swift Mailerwas dropped in favor ofSymfony Mailer; themailerconfiguration parameter was removed.
If you are already using
Symfony 4.4or higher it should not be necessary to make changes to your tests to update!
1.6.0
-
New methods by @TavoNiievez:
- dontSeeEventTriggered
- seeFormErrorMessages
- seeUserHasRoles
-
Remembered authentication methods now also verify the Cookie generated (#81)
-
Fixed time metric when running test with
--debug(#77)
If you're interested in contributing to this module and didn't know where to start, a contribution guide is now available, thanks to @ThomasLandauer and @TavoNiievez (#79).
BC: Removed support for PHP 7.1 and PHP 7.2.
1.5.0
-
New method by @ThomasLandauer:
- dontSeeInSession
-
New methods by @TavoNiievez:
- dontSeeRememberedAuthentication
- grabNumRecords
- seeEventTriggered
- seeRememberedAuthentication
- seeSessionHasValues
- persistPermanentService
-
Now you can run test for all the methods of this module in https://github.com/Codeception/symfony-module-tests .
-
BC: Remove PHP 7.0 support (#69), code standards updated to PHP 7.1+ (#75)
-
BC: Removed parameter flags in
seeAuthentication,dontSeeAuthenticationandpersistService, useseeRememberedAuthentication,dontSeeRememberedAuthenticationandpersistPermanentServiceinstead.
Minor logical change in #74.
1.4.2
- Support PHP 8 by @Naktibalda
1.4.1
- Minor logic fixes (#58), (#59), and (#60) by @TavoNiievez
1.4.0
1.3.0
-
New methods by @TavoNiievez:
-
Supports vlucas/phpdotenv v5 (#28)
-
Improved documentation of the 'Parts' feature by @ThomasLandauer (#40)
-
BC: Removed support for php 5.6 and Symfony 2.8 (#39)
1.2.0
-
New methods by @TavoNiievez:
- amLoggedInAs
- logout
- seeInSession
- seeAuthentication
- dontSeeAuthentication
- seeUserHasRole
- amOnAction
- seeCurrentActionIs
- seeNumRecords
-
Supports vlucas/phpdotenv ^3.6 and ^4.1
-
Improved description and error messages of grabService and seeEmailIsSent by @ThomasLandauer
Fixed seeEmailIsSent
runSymfonyConsoleCommand
- runSymfonyConsoleCommand works with arguments, options and also console input