MDL-72496 question tests: fix assertTag if tag not found
commitd0958a89f9b541dd7249c12b9b3863f3e014ffec
authorLaurent David <lmedavid@gmail.com>
Thu, 23 Sep 2021 15:39:34 +0000 (23 17:39 +0200)
committerLaurent David <lmedavid@gmail.com>
Thu, 30 Sep 2021 11:14:34 +0000 (30 13:14 +0200)
tree077a8e18192752fc76f45dbc4f016e7580089e7d
parent1a63bccf46db8c9ea1e769b2cbfd131167192098
MDL-72496 question tests: fix assertTag if tag not found

* The basic_test::assertTag method will issue a warning as $tag is not
found, failing the PHP Unit test that uses this method.
* Add tests to check that assertTag is working
lib/phpunit/classes/base_testcase.php
lib/phpunit/tests/basic_test.php