Skip to content

Conversation

TavoNiievez
Copy link
Member

  • Removed compatibility logic for unsupported versions of Symfony.
  • Encapsulated access to services.
  • PHP 7.3 features applied.
  • Removed event compatibility logic for Laravel < 5.4.
  • The connector methods used by the module are now at the end of the class in an adjoining block.
  • Removed unnecessary type hints docblocks.
  • Added more typing to functions.
  • Improved IDE help when browsing the module source code.
  • Now assertSame is used instead of assertEquals.
  • Fixed broken links to laravel documentation.

  • Module assertions are now organized into traits based on their related functionality and following the Laravel naming convention:

imagen


  • Added amActingAs, assertAuthenticatedAs, assertCredentials, assertInvalidCredentials, authentication assertions.
  • Added seedDatabase function.
  • Added enableMiddleware function.
  • dontSeeRecord and seeRecord functions now works with Model objects too.
  • disableMiddleware function now can disable one or more specific middleware by specifying the $middleware parameter.

Note: This PR will be merged with the Rebase and merge strategy.

@TavoNiievez TavoNiievez added this to the 2.1.0 milestone Sep 6, 2021
@TavoNiievez TavoNiievez merged commit 15df459 into Codeception:main Sep 7, 2021
@TavoNiievez TavoNiievez deleted the fixes branch September 7, 2021 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants