loadPlugins(['CakeProducts']); } 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); } }