<commit_before><?php namespace Modules\Workshop\Tests;

use Orchestra\Testbench\TestCase;

abstract class BaseTestCase extends TestCase
{
    public function setUp()
    {
        parent::setUp();
    }

    protected function getPackageProviders($app)
    {
        return [
            'Modules\Workshop\Providers\WorkshopServiceProvider',
            'Pingpong\Modules\ModulesServiceProvider'
        ];
    }

    protected function getEnvironmentSetUp($app)
    {
        $app['path.base'] = __DIR__ . '/..';
    }
}
<commit_msg>Set the base application path<commit_after><?php namespace Modules\Workshop\Tests;

use Orchestra\Testbench\TestCase;

abstract class BaseTestCase extends TestCase
{
    public function setUp()
    {
        parent::setUp();
    }

    protected function getPackageProviders($app)
    {
        return [
            'Modules\Workshop\Providers\WorkshopServiceProvider',
            'Pingpong\Modules\ModulesServiceProvider'
        ];
    }

    protected function getEnvironmentSetUp($app)
    {
        $app->setBasePath(__DIR__ . '/..');
    }
}

{'fraction_non_alphanumeric': 0.10710987996306556, 'fraction_numerical': 0.0, 'mean_word_length': 2.6254180602006687, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5405601', 'n_tokens_mistral': 307, 'n_tokens_neox': 310, 'n_words': 53}