resourceloader: Add explicit tests for isValidModuleName()
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 1 Jun 2019 22:30:46 +0000 (23:30 +0100)
committerKrinkle <krinklemail@gmail.com>
Sat, 1 Jun 2019 22:46:40 +0000 (22:46 +0000)
commitff03ae3043d57eed426d6f1ff8d7a4bc9ed87efb
treebd07b5dadf39d505e825b99f337dffe27d57940c
parent5ed6917b4a630ef5b9d9d9ea68c2f4043cb70f1e
resourceloader: Add explicit tests for isValidModuleName()

Mark the two basic integration tests as `@medium`.
These confirm that:
* The registration method throws on invalid names.
* The higher levels are able to support an empty string as name.

Change-Id: Ib8215408a28040986ae07f4b2421681bc885abad
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php