Skip to content

Commit

Permalink
patch 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
metalwolf committed Apr 17, 2017
1 parent 3fa59a7 commit 8e5ed28
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions testunit/WADebugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,28 @@

namespace testunit;

class WADebugTest extends \PHPUnit\Framework\TestCase
if (PHP_VERSION_ID >= 70000) // travis PHP unit uses >=3.5 on PHP7+
{
public function testCreate()
class WADebugTest extends \PHPUnit\Framework\TestCase
{
$x = new \core\WADebug();
var_dump($x);
$this->assertEquals('OK', 'OK');
public function testCreate()
{
$x = new \core\WADebug();
var_dump($x);
$this->assertEquals('OK', 'OK');
}
}
}
else
{
class WADebugTest extends \PHPUnit_Framework_TestCase
{
public function testCreate()
{
$x = new \core\WADebug();
var_dump($x);
$this->assertEquals('OK', 'OK');
}
}

}

?>

0 comments on commit 8e5ed28

Please sign in to comment.