mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
Unit test
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user