Unit test

This commit is contained in:
oesi
2015-02-20 12:58:55 +01:00
parent f1dd6dd7b4
commit 48706ec3a1
@@ -0,0 +1,27 @@
<?php
require_once('basis.class.php');
class ExampleTest extends \Codeception\TestCase\Test
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testMe()
{
$bc = new basis();
$bc->errormsg=true;
$this->assertTrue($bc->getErrorMsg());
}
}