1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 09:32:17 +02:00

Backwards compatibility with PHPUnit 5 for PHP 5.6

This commit is contained in:
Deltik 2019-03-29 17:49:19 -05:00
parent 7cda595cae
commit d28a1a4a77
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@
$actual = e107::getDebug()->getTimeMarkers();
$this->assertIsArray($actual);
$this->assertTrue(is_array($actual));
$this->assertEquals('Testing', $actual[1]['What']);
$this->assertArrayHasKey('Index', $actual[1]);
$this->assertArrayHasKey('Time', $actual[1]);

View File

@ -154,7 +154,7 @@
$actual = e107::getDebug()->getTimeMarkers();
$this->assertIsArray($actual);
$this->assertTrue(is_array($actual));
$this->assertEquals('Testing', $actual[1]['What']);
$this->assertArrayHasKey('Index', $actual[1]);
$this->assertArrayHasKey('Time', $actual[1]);