mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Fix unit tests to support older versions of phpunit #179.
This commit is contained in:
@@ -453,7 +453,7 @@ class maintenance_static_page_test extends auth_outage_base_testcase {
|
||||
$generator = new maintenance_static_page_generator(new DOMDocument(), new maintenance_static_page_io());
|
||||
$matches = $generator->get_urls_from_stylesheet($filecontent);
|
||||
|
||||
self::assertIsArray($matches);
|
||||
self::assertInternalType('array', $matches);
|
||||
self::assertCount(2, $matches);
|
||||
self::assertCount($count, $matches[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user