mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
85 lines
1.6 KiB
PHP
85 lines
1.6 KiB
PHP
<?php
|
|
namespace App\Test\TestCase\Model\Table;
|
|
|
|
use App\Model\Table\StateErrorsTable;
|
|
use Cake\ORM\TableRegistry;
|
|
use Cake\TestSuite\TestCase;
|
|
|
|
/**
|
|
* App\Model\Table\StateErrorsTable Test Case
|
|
*/
|
|
class StateErrorsTableTest extends TestCase
|
|
{
|
|
/**
|
|
* Test subject
|
|
*
|
|
* @var \App\Model\Table\StateErrorsTable
|
|
*/
|
|
public $StateErrors;
|
|
|
|
/**
|
|
* Fixtures
|
|
*
|
|
* @var array
|
|
*/
|
|
public $fixtures = [
|
|
'app.StateErrors',
|
|
'app.StateUsers',
|
|
'app.TransactionTypes'
|
|
];
|
|
|
|
/**
|
|
* setUp method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
$config = TableRegistry::getTableLocator()->exists('StateErrors') ? [] : ['className' => StateErrorsTable::class];
|
|
$this->StateErrors = TableRegistry::getTableLocator()->get('StateErrors', $config);
|
|
}
|
|
|
|
/**
|
|
* tearDown method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
unset($this->StateErrors);
|
|
|
|
parent::tearDown();
|
|
}
|
|
|
|
/**
|
|
* Test initialize method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testInitialize()
|
|
{
|
|
$this->markTestIncomplete('Not implemented yet.');
|
|
}
|
|
|
|
/**
|
|
* Test validationDefault method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testValidationDefault()
|
|
{
|
|
$this->markTestIncomplete('Not implemented yet.');
|
|
}
|
|
|
|
/**
|
|
* Test buildRules method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testBuildRules()
|
|
{
|
|
$this->markTestIncomplete('Not implemented yet.');
|
|
}
|
|
}
|