mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Backwards compatibility with PHPUnit 5 for PHP 5.6
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
$actual = e107::getDebug()->getTimeMarkers();
|
$actual = e107::getDebug()->getTimeMarkers();
|
||||||
|
|
||||||
$this->assertIsArray($actual);
|
$this->assertTrue(is_array($actual));
|
||||||
$this->assertEquals('Testing', $actual[1]['What']);
|
$this->assertEquals('Testing', $actual[1]['What']);
|
||||||
$this->assertArrayHasKey('Index', $actual[1]);
|
$this->assertArrayHasKey('Index', $actual[1]);
|
||||||
$this->assertArrayHasKey('Time', $actual[1]);
|
$this->assertArrayHasKey('Time', $actual[1]);
|
||||||
|
@@ -154,7 +154,7 @@
|
|||||||
|
|
||||||
$actual = e107::getDebug()->getTimeMarkers();
|
$actual = e107::getDebug()->getTimeMarkers();
|
||||||
|
|
||||||
$this->assertIsArray($actual);
|
$this->assertTrue(is_array($actual));
|
||||||
$this->assertEquals('Testing', $actual[1]['What']);
|
$this->assertEquals('Testing', $actual[1]['What']);
|
||||||
$this->assertArrayHasKey('Index', $actual[1]);
|
$this->assertArrayHasKey('Index', $actual[1]);
|
||||||
$this->assertArrayHasKey('Time', $actual[1]);
|
$this->assertArrayHasKey('Time', $actual[1]);
|
||||||
|
Reference in New Issue
Block a user