for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Saito - The Threaded Web Forum
*
* @copyright Copyright (c) the Saito Project Developers
* @link https://github.com/Schlaefer/Saito
* @license http://opensource.org/licenses/MIT
*/
namespace App\Test\TestCase\Controller\Admin;
use Cake\ORM\TableRegistry;
use Saito\Test\IntegrationTestCase;
* Class SettingsControllerTest
class SettingsControllerTest extends IntegrationTestCase
{
public $fixtures = [
'app.Category',
'app.Entry',
'app.Setting',
'app.User',
'app.UserBlock',
'app.UserIgnore',
'app.UserRead',
'app.UserOnline'
];
public function testIndexAccess()
$this->assertRouteForRole('/admin/settings/index', 'admin');
}