Get ~100% test coverage for ApiEditPage.php and fix a couple of bugs
[lhc/web/wiklou.git] / tests / phpunit / mocks / content / DummyContentHandlerForTesting.php
index 78d5dc7..b71577c 100644 (file)
@@ -2,8 +2,8 @@
 
 class DummyContentHandlerForTesting extends ContentHandler {
 
-       public function __construct( $dataModel ) {
-               parent::__construct( $dataModel, [ DummyContentForTesting::MODEL_ID ] );
+       public function __construct( $dataModel, $formats = [ DummyContentForTesting::MODEL_ID ] ) {
+               parent::__construct( $dataModel, $formats );
        }
 
        /**