tests fixed

This commit is contained in:
2025-03-27 01:44:16 -07:00
parent 2138762fb2
commit 3719bbef53
13 changed files with 26 additions and 369 deletions

View File

@@ -44,8 +44,8 @@ class ProductsControllerTest extends BaseControllerTest
protected function setUp(): void
{
parent::setUp();
$this->enableCsrfToken();
$this->enableSecurityToken();
// $this->enableCsrfToken();
// $this->enableSecurityToken();
$config = $this->getTableLocator()->exists('Products') ? [] : ['className' => ProductsTable::class];
$this->Products = $this->getTableLocator()->get('Products', $config);
}