2018-05-23 04:30:36 |
Rebecca Blundell |
description |
1. Upgrade behat to run in php 7.2
2. Figure out what best to do for this problem:
Currently there is an issue with the Behat2Renderer.php file in the html report. It uses count() as a test whether object properties return null. As in 7.2 passing null to count results in a warning, running tests currently produces a long list of warnings, so we should probably change that.
Related to https://bugs.launchpad.net/mahara/+bug/1767945 |
1. Upgrade behat to run in php 7.2
2. Figure out what best to do for this problem:
Currently there is an issue with the Behat2Renderer.php file in the html report. It uses count() as a test whether object properties return null. As in 7.2 passing null to count results in a warning, running tests currently produces a long list of warnings, so we should probably change that.
It looks like implementing Countable on the object may solve this.
Related to https://bugs.launchpad.net/mahara/+bug/1767945 |
|