Add project

This commit is contained in:
2025-12-01 21:02:58 +01:00
commit 745b10b50f
117 changed files with 11236 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<?php
declare(strict_types=1);
namespace App\Test\TestCase\Model\Table;
use App\Model\Table\ToolsTable;
use Cake\TestSuite\TestCase;
/**
* App\Model\Table\ToolsTable Test Case
*/
class ToolsTableTest extends TestCase
{
/**
* Test subject
*
* @var \App\Model\Table\ToolsTable
*/
protected $Tools;
/**
* Fixtures
*
* @var array<string>
*/
protected array $fixtures = [
'app.Tools',
];
/**
* setUp method
*
* @return void
*/
protected function setUp(): void
{
parent::setUp();
$config = $this->getTableLocator()->exists('Tools') ? [] : ['className' => ToolsTable::class];
$this->Tools = $this->getTableLocator()->get('Tools', $config);
}
/**
* tearDown method
*
* @return void
*/
protected function tearDown(): void
{
unset($this->Tools);
parent::tearDown();
}
/**
* Test validationDefault method
*
* @return void
* @link \App\Model\Table\ToolsTable::validationDefault()
*/
public function testValidationDefault(): void
{
$this->markTestIncomplete('Not implemented yet.');
}
}

View File

@@ -0,0 +1,75 @@
<?php
declare(strict_types=1);
namespace App\Test\TestCase\Model\Table;
use App\Model\Table\UsersTable;
use Cake\TestSuite\TestCase;
/**
* App\Model\Table\UsersTable Test Case
*/
class UsersTableTest extends TestCase
{
/**
* Test subject
*
* @var \App\Model\Table\UsersTable
*/
protected $Users;
/**
* Fixtures
*
* @var array<string>
*/
protected array $fixtures = [
'app.Users',
];
/**
* setUp method
*
* @return void
*/
protected function setUp(): void
{
parent::setUp();
$config = $this->getTableLocator()->exists('Users') ? [] : ['className' => UsersTable::class];
$this->Users = $this->getTableLocator()->get('Users', $config);
}
/**
* tearDown method
*
* @return void
*/
protected function tearDown(): void
{
unset($this->Users);
parent::tearDown();
}
/**
* Test validationDefault method
*
* @return void
* @link \App\Model\Table\UsersTable::validationDefault()
*/
public function testValidationDefault(): void
{
$this->markTestIncomplete('Not implemented yet.');
}
/**
* Test buildRules method
*
* @return void
* @link \App\Model\Table\UsersTable::buildRules()
*/
public function testBuildRules(): void
{
$this->markTestIncomplete('Not implemented yet.');
}
}