testBakeModelTest.php 770 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace App\Test\TestCase\Model\Table;
  3. use App\Model\Table\ArticlesTable;
  4. use Cake\ORM\TableRegistry;
  5. use Cake\TestSuite\TestCase;
  6. /**
  7. * App\Model\Table\ArticlesTable Test Case
  8. */
  9. class ArticlesTableTest extends TestCase {
  10. /**
  11. * setUp method
  12. *
  13. * @return void
  14. */
  15. public function setUp() {
  16. parent::setUp();
  17. $config = TableRegistry::exists('Articles') ? [] : ['className' => 'App\Model\Table\ArticlesTable'];
  18. $this->Articles = TableRegistry::get('Articles', $config);
  19. }
  20. /**
  21. * tearDown method
  22. *
  23. * @return void
  24. */
  25. public function tearDown() {
  26. unset($this->Articles);
  27. parent::tearDown();
  28. }
  29. /**
  30. * Test initial setup
  31. *
  32. * @return void
  33. */
  34. public function testInitialization() {
  35. $this->markTestIncomplete('Not implemented yet.');
  36. }
  37. }