MDL-51756 tests: Refactor test to use data-provider
commit8413376088b00580730324663469e82457ebb3ef
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 15 Oct 2015 06:40:49 +0000 (15 14:40 +0800)
committerDamyon Wiese <damyon@moodle.com>
Thu, 15 Oct 2015 07:17:02 +0000 (15 15:17 +0800)
tree6b7be98585348157ae91c6ac3402691c874f880f
parent1dc4dc989daa2094ecc9ade2f1470c7a87993ef2
MDL-51756 tests: Refactor test to use data-provider

The benefit is that this becomes one test per external function instead of one
test testing them all - so more information is shown on failure and we get lots
more dots (we love dots!).
lib/tests/externallib_test.php