81 lines
1.4 KiB
PHP
81 lines
1.4 KiB
PHP
<?php
|
|
namespace App\Test\TestCase\Model\Table;
|
|
|
|
use App\Model\Table\InfosTable;
|
|
use Cake\ORM\TableRegistry;
|
|
use Cake\TestSuite\TestCase;
|
|
|
|
/**
|
|
* App\Model\Table\InfosTable Test Case
|
|
*/
|
|
class InfosTableTest extends TestCase
|
|
{
|
|
|
|
/**
|
|
* Fixtures
|
|
*
|
|
* @var array
|
|
*/
|
|
public $fixtures = [
|
|
'app.infos',
|
|
'app.crises',
|
|
'app.users',
|
|
'app.articles',
|
|
'app.crisis'
|
|
];
|
|
|
|
/**
|
|
* setUp method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
$config = TableRegistry::exists('Infos') ? [] : ['className' => 'App\Model\Table\InfosTable'];
|
|
$this->Infos = TableRegistry::get('Infos', $config);
|
|
}
|
|
|
|
/**
|
|
* tearDown method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
unset($this->Infos);
|
|
|
|
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.');
|
|
}
|
|
}
|