Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

65 řádky
1.3KB

  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Test\TestCase\Model\Table;
  4. use App\Model\Table\TerritoriesTable;
  5. use Cake\TestSuite\TestCase;
  6. /**
  7. * App\Model\Table\TerritoriesTable Test Case
  8. */
  9. class TerritoriesTableTest extends TestCase
  10. {
  11. /**
  12. * Test subject
  13. *
  14. * @var \App\Model\Table\TerritoriesTable
  15. */
  16. protected $Territories;
  17. /**
  18. * Fixtures
  19. *
  20. * @var array<string>
  21. */
  22. protected array $fixtures = [
  23. 'app.Territories',
  24. ];
  25. /**
  26. * setUp method
  27. *
  28. * @return void
  29. */
  30. protected function setUp(): void
  31. {
  32. parent::setUp();
  33. $config = $this->getTableLocator()->exists('Territories') ? [] : ['className' => TerritoriesTable::class];
  34. $this->Territories = $this->getTableLocator()->get('Territories', $config);
  35. }
  36. /**
  37. * tearDown method
  38. *
  39. * @return void
  40. */
  41. protected function tearDown(): void
  42. {
  43. unset($this->Territories);
  44. parent::tearDown();
  45. }
  46. /**
  47. * Test validationDefault method
  48. *
  49. * @return void
  50. * @link \App\Model\Table\TerritoriesTable::validationDefault()
  51. */
  52. public function testValidationDefault(): void
  53. {
  54. $this->markTestIncomplete('Not implemented yet.');
  55. }
  56. }

Powered by TurnKey Linux.