Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Releases: zendframework/zend-test

zend-test 3.3.0

11 Jun 19:39
release-3.3.0
9cc4ab4
Compare
Choose a tag to compare

Added

  • #76 adds support for PHPUnit 8

    Undesired PHPUnit update to ^8.0 can happen on PHP 7.2 and newer when relying on PHPUnit installation as an indirect dependency via zend-test.
    Please always declare direct dependency on phpunit/phpunit with suitable versions alongside with zendframework/zend-test.

    PHPUnit 8 incompatible test suite typically would error after the update with messages like "Fatal error: Declaration of *::setUp() must be compatible with *::setUp(): void" for any of the following methods:

    • setUpBeforeClass()
    • tearDownAfterClass()
    • setUp()
    • tearDown()

    Following command can be used to declare explicit dependency on older PHPUnit versions:

    composer require --dev phpunit/phpunit:"^7.5.12 || ^6.5.14 || ^5.7.14" --update-with-dependencies

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-test 3.2.2

08 Jan 17:08
Compare
Choose a tag to compare

Added

  • #75 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #74 reverts changes introduced in version 3.2.1 to how superglobals are reset
    between tests, primarily by fixing the root problem -- base URL detection --
    by requiring a zend-http version that fixes that detection.

zend-test 3.2.1

10 Dec 16:50
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #70 fixes a memory leak in controller test cases.

  • #66 Fixes globals not
    cleared for controller tests

zend-test 3.2.0

07 Apr 10:07
release-3.2.0
6266064
Compare
Choose a tag to compare

Added

  • #60 Added support for PHPUnit 7
  • #65 Added support for query parameters in DELETE request in AbstractControllerTestCase

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #63 Fixed compatibility with PHP 7.2

zend-test 3.1.1

29 Oct 17:25
release-3.1.1
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #55 Fixes compatibility with PHPUnit 5.7.23 where empty expected exception message no longer means message is not checked.
  • #49 Fixes missing alias for compatibility with PHPUnit <6.0

zend-test 3.1.0

01 May 19:56
Compare
Choose a tag to compare

Added

  • #40 and #48 add support for the PHPUnit 6 series, while retaining support for PHPUnit 4 and 5.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-test 3.0.2

06 Sep 16:38
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #33 fixes queryContentRegexAssertion() (used by assertQueryContentRegex() and assertXpathQueryContentRegex()) properly checks all matching nodes for content matching the regular expression, instead of only the first. The prevents false negative assertions from occuring.
  • #21 updates the sebastian/version dependency to also allow v2.0 releases.
  • #31 fixes an issue with the AbstractControllerTestCase when used to test a console request. Previously, routes with multiple literal flags were never matched; they now are.

zend-test 3.0.1

06 Sep 16:39
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #26 fixes how $traceErrors works under PHP 7 and PHPUnit 5. Any zend-test-specific assertion failures now append a list of all exception messages to the base message when the flag is enabled.

zend-test 3.0.0

31 May 20:40
Compare
Choose a tag to compare

Added

  • This release adds support for zend-mvc v3.

Deprecated

  • Nothing.

Removed

  • This release removes support for PHP versions < 5.6.
  • This release removes support for zend-mvc v2.

Fixed

  • Nothing.

zend-test 2.6.1

02 Mar 20:18
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #20 updates the zend-mvc requirement to 2.7.1, ensuring deprecation notices will not occur in the majority of circumstances.