Skip to content

Add basic unit test to cover each public method in the Hooks class

Samuel Hilson requested to merge unit-test-hooks into master

These tests are just examples. The Hooks Class is very incomplete and many of the pathways need to be planned out and test written to handle them. These tests provide a good example of using PHPUnit and Mockery together to make the unit test able to run independently of MediaWiki.

Edited by Samuel Hilson

Merge request reports