phpcs phpcbf

This commit is contained in:
2026-01-23 18:36:15 -08:00
parent c249151eb4
commit ae5fa27b7d
42 changed files with 82022 additions and 82113 deletions

View File

@@ -5,21 +5,24 @@ namespace CakeAddresses\Test\TestCase\Controller;
use Cake\TestSuite\IntegrationTestTrait;
use Cake\TestSuite\TestCase;
class BaseControllerTest extends TestCase
{
use IntegrationTestTrait;
class BaseControllerTest extends TestCase {
public function loginUserByRole(string $role = 'admin'): void
{
$this->session(['Auth.User.id' => 1]);
$this->session(['Auth.id' => 1]);
}
use IntegrationTestTrait;
/**
/**
* @param string $role - role name - makes testing different roles easier
* @return void
*/
public function testTest()
{
$this->assertEquals(1, 1);
}
public function loginUserByRole(string $role = 'admin'): void {
$this->session(['Auth.User.id' => 1]);
$this->session(['Auth.id' => 1]);
}
/**
* @return void
*/
public function testTest() {
$this->assertEquals(1, 1);
}
}