3 * @license GPL-2.0-or-later
10 class SpecialLogTest
extends SpecialPageTestBase
{
13 * Returns a new instance of the special page under test.
17 protected function newSpecialPage() {
18 return new SpecialLog();
22 * Verify that no exception was thrown for an invalid date
25 public function testInvalidDate() {
26 list( $html, ) = $this->executeSpecialPage(
28 // There is no 13th month
29 new FauxRequest( [ 'wpdate' => '2018-13-01' ] ),
32 $this->assertContains( '(log-summary)', $html );