CrisisFlag/tests/TestCase/Model/Table/ArticlesTableTest.php
2015-12-03 19:34:21 +01:00

81 lines
1.4 KiB
PHP

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