Sindbad~EG File Manager

Current Path : /home/zada/www/vendor/genealabs/laravel-sign-in-with-apple/tests/
Upload File :
Current File : /home/zada/www/vendor/genealabs/laravel-sign-in-with-apple/tests/CreatesApplication.php

<?php

namespace GeneaLabs\LaravelSignInWithApple\Tests;

use Illuminate\Contracts\Http\Kernel;
use Orchestra\Testbench\Dusk\Options;
use Illuminate\Session\Middleware\StartSession;
use Laravel\Socialite\SocialiteServiceProvider;
use GeneaLabs\LaravelSignInWithApple\Providers\ServiceProvider;
use GeneaLabs\LaravelSignInWithApple\Tests\Fixtures\Providers\TestingServiceProvider;

trait CreatesApplication
{
    protected function setUp(): void
    {
        parent::setUp();

        Options::withUI();
        $this->artisan("view:clear");
        $this->artisan("cache:clear");
        $this->artisan("config:clear");
    }

    protected function getEnvironmentSetUp($app)
    {
        $app['config']->set('database.redis.client', "predis");
        $app->make(Kernel::class)
            ->pushMiddleware(StartSession::class);

        $app->make("view")
            ->addLocation(__DIR__ . "/Fixtures/resources/views");
    }

    protected function getPackageProviders($app)
    {
        return [
            SocialiteServiceProvider::class,
            ServiceProvider::class,
            TestingServiceProvider::class,
        ];
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists (>^ω^<)看过哭02teddd(>^ω^<)看过哭02teddd