diff --git a/tests/phpunit/SpecialLintErrorsTest.php b/tests/phpunit/SpecialLintErrorsTest.php new file mode 100644 index 00000000..86214989 --- /dev/null +++ b/tests/phpunit/SpecialLintErrorsTest.php @@ -0,0 +1,49 @@ +getVisibleCategories()[0]; + + // Basic + $html = $this->executeSpecialPage( '', null, 'qqx' )[0]; + $this->assertContains( '(linterrors-summary)', $html ); + $this->assertContains( "(linter-category-$category)", $html ); + + $this->assertContains( + "(linter-category-$category-desc)", + $this->executeSpecialPage( $category, null, 'qqx' )[0] + ); + } + +}