Skip to content

Releases: jasonmccreary/laravel-test-assertions

2.1.1

20 Mar 13:49
2547c03
Compare
Choose a tag to compare

Fixed

  • Take excluded_middleware into account for middleware assertions (#38)

2.1.0

09 Feb 12:44
7d2fa95
Compare
Choose a tag to compare

Added

  • Support for PHP 8 and Laravel 9 (#36)

2.0.0

28 Sep 18:49
f70f51e
Compare
Choose a tag to compare

This is a superficial major version release. It marks the adoption of a new Support Policy by dropping support for old versions of Laravel (currently 6.x, 7.x). There are no changes to functionality or underlying code other than requiring the latest stable version of Laravel (currently 8.x).

This also removes the assertNotSoftDeleted assertion in favor of using the native assertNotSoftDeleted added in Laravel 8.62. As the first parameter matches, no code changes are required.

1.1.0

20 Feb 13:26
Compare
Choose a tag to compare

Added

  • assertJsonTypedStructure to verify data type of values (#19)
  • assertRouteUsesMiddleware assertion (#23)
  • assertNotSoftDeleted assertion (#28)
  • Create CHANGELOG (cbe01c6)

1.0.0

03 Apr 15:15
3ead011
Compare
Choose a tag to compare

This marks the 1.0 release as I finalized the trait naming.

Please note, if you were using this package before, you will need to rename all uses of the HttpTestAssertions trait to AdditionalAssertions.

0.5.1

11 Mar 15:57
100fd2f
Compare
Choose a tag to compare
v0.5.1

Fix issue with the new Symfony component (#12)

0.5.0

04 Mar 13:55
Compare
Choose a tag to compare
v0.5.0

Class toggle for Laravel 7

0.4.1

22 Feb 13:43
c473e80
Compare
Choose a tag to compare
v0.4.1

Merge pull request #8 from devonmather/Add-fix-for-invokable-controll…

0.4.0

14 Feb 20:34
Compare
Choose a tag to compare

Includes the following new assertions. Review the Assertions section of the README for documentation.

  • assertRouteUsesFormRequest
  • assertValidationRules
  • assertExactValidationRules
  • assertValidationRuleContains

0.3.0

03 Jan 14:28
a53b94e
Compare
Choose a tag to compare

Adds assertActionUsesMiddleware to verify a controller action is using a middleware or set of middleware.