Add tests for ExtensionJsonValidator
[lhc/web/wiklou.git] / includes / registration / ExtensionJsonValidator.php
index 8142111..7e3afaa 100644 (file)
@@ -40,6 +40,7 @@ class ExtensionJsonValidator {
        }
 
        /**
+        * @codeCoverageIgnore
         * @return bool
         */
        public function checkDependencies() {
@@ -105,7 +106,7 @@ class ExtensionJsonValidator {
                        // All good.
                        return true;
                } else {
-                       $out = "$path did pass validation.\n";
+                       $out = "$path did not pass validation.\n";
                        foreach ( $validator->getErrors() as $error ) {
                                $out .= "[{$error['property']}] {$error['message']}\n";
                        }