Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

77 строки
1.5KB

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

Powered by TurnKey Linux.