mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
- Fixed codeception test
- Updated the api test suite - Added the script generate.php to automatically generate the test cases for the controllers
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
require_once(dirname(__FILE__).'/../../../../include/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