<commit_before><?php
namespace App\Test\TestCase\Controller;

use App\Test\TestCase\Controller\TatoebaControllerTestTrait;
use Cake\TestSuite\IntegrationTestCase;

class PagesControllerTest extends IntegrationTestCase
{
    use TatoebaControllerTestTrait;

    public $autoFixtures = false;

    public $fixtures = [
        'app.Audios',
        'app.Contributions',
        'app.FavoritesUsers',
        'app.Languages',
        'app.LastContributions',
        'app.Links',
        'app.PrivateMessages',
        'app.Sentences',
        'app.SentenceComments',
        'app.SentencesLists',
        'app.SentencesSentencesLists',
        'app.Transcriptions',
        'app.Users',
        'app.UsersLanguages',
        'app.Walls'
    ];

    public function accessesProvider() {
        return [
            // url; user; is accessible or redirection url
            [ '/eng/terms-of-use', null, '/eng/terms_of_use' ],
            [ '/eng/terms-of-use', 'contributor', '/eng/terms_of_use' ],
            [ '/eng/terms_of_use', null, true ],<commit_msg>Fix PagesController test<commit_after><?php
namespace App\Test\TestCase\Controller;

use App\Test\TestCase\Controller\TatoebaControllerTestTrait;
use Cake\TestSuite\IntegrationTestCase;

class PagesControllerTest extends IntegrationTestCase
{
    use TatoebaControllerTestTrait;

    public $autoFixtures = false;

    public $fixtures = [
        'app.Audios',
        'app.Contributions',
        'app.FavoritesUsers',
        'app.Languages',
        'app.LastContributions',
        'app.Links',
        'app.PrivateMessages',
        'app.Sentences',
        'app.SentenceComments',
        'app.SentencesLists',
        'app.SentencesSentencesLists',
        'app.Transcriptions',
        'app.Users',
        'app.UsersLanguages',
        'app.UsersSentences',
        'app.Walls'
    ];

    public function accessesProvider() {
        return [
            // url; user; is accessible or redirection url
            [ '/eng/terms-of-use', null, '/eng/terms_of_use' ],
            [ '/eng/terms-of-use', 'contributor', '/eng/terms_of_use' ],
            [ '/eng/terms_of_use', null, true ],
{'fraction_non_alphanumeric': 0.1271461716937355, 'fraction_numerical': 0.0, 'mean_word_length': 2.43859649122807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2884501', 'n_tokens_mistral': 674, 'n_tokens_neox': 636, 'n_words': 109}