diff options
author | tenzap <fabstz-it@yahoo.fr> | 2022-11-10 21:54:35 +0100 |
---|---|---|
committer | tenzap <fabstz-it@yahoo.fr> | 2022-11-10 21:54:38 +0100 |
commit | 517b9aec99df26283d283c6fa9793b64c1188332 (patch) | |
tree | 5b2f6a797da1bb9630ba73ea828a5fdfb4d19fbc /tests/codeigniter/helpers/captcha_helper_test.php | |
parent | ca889b00ef4d561b181e1df383b91c1f28e3501f (diff) |
Adapt unit tests so as not to fail with PHPUnit 8.5
When the phpunit tests are run with phpunit 8.5, they will fail because
the test would call assertMatchesRegularExpression which doesn't exists in
that version.
So check the existence of the method instead of checking the class
'PHPUnit_Runner_Version'.
Diffstat (limited to 'tests/codeigniter/helpers/captcha_helper_test.php')
0 files changed, 0 insertions, 0 deletions