<commit_before><?php namespace Kahire\Tests;

use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Kahire\KahireServiceProvider;
use TestSubject\Providers\TestSubjectProvider;

abstract class TestCase extends BaseTestCase {

    /**
     * The base URL to use while testing the application.
     *
     * @var string
     */
    protected $baseUrl = 'http://localhost';


    /**
     * Creates the application.
     *
     * @return \Illuminate\Foundation\Application
     */
    public function createApplication()
    {
        $app = require TEST_DIR . "/../vendor/laravel/laravel/bootstrap/app.php";

        $app->instance("path.storage", realpath(TEST_DIR . "/TestSubject/storage"));

        $app->register(KahireServiceProvider::class);
        $app->register(TestSubjectProvider::class);

        $app->make(Kernel::class)->bootstrap();

        $app["config"]->set("filesystems.disks.local.root", storage_path());

        return $app;
    }
}<commit_msg>storage path deleted<commit_after><?php namespace Kahire\Tests;

use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Kahire\KahireServiceProvider;
use TestSubject\Providers\TestSubjectProvider;

abstract class TestCase extends BaseTestCase {

    /**
     * The base URL to use while testing the application.
     *
     * @var string
     */
    protected $baseUrl = 'http://localhost';


    /**
     * Creates the application.
     *
     * @return \Illuminate\Foundation\Application
     */
    public function createApplication()
    {
        $app = require TEST_DIR . "/../vendor/laravel/laravel/bootstrap/app.php";

        $app->instance("path.storage", realpath(TEST_DIR . "/TestSubject/storage"));

        $app->register(KahireServiceProvider::class);
        $app->register(TestSubjectProvider::class);

        $app->make(Kernel::class)->bootstrap();

        return $app;
    }
}
{'fraction_non_alphanumeric': 0.13027989821882952, 'fraction_numerical': 0.0, 'mean_word_length': 3.1129707112970713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '7288536', 'n_tokens_mistral': 551, 'n_tokens_neox': 547, 'n_words': 108}