Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split assertions in traits, update codebase #30

merged 19 commits into from Sep 7, 2021


Copy link

  • 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:


  • 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
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants