From ec78d30caedfa4e97a93a4916cfbf4549cc4f374 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 2 Dec 2021 15:10:17 +0300 Subject: [PATCH] Removed unnecessary files --- tests/Providers/Provider.php | 30 ------------------------------ tests/TestCase.php | 7 +------ 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 tests/Providers/Provider.php diff --git a/tests/Providers/Provider.php b/tests/Providers/Provider.php deleted file mode 100644 index 010c9247..00000000 --- a/tests/Providers/Provider.php +++ /dev/null @@ -1,30 +0,0 @@ - - * - * @copyright 2021 Andrey Helldar - * - * @license MIT - * - * @see https://github.com/Laravel-Lang/publisher - */ - -declare(strict_types=1); - -namespace Tests\Providers; - -use LaravelLang\Lang\Provider as LaravelLang; - -class Provider extends LaravelLang -{ - public function basePath(): string - { - return __DIR__ . '/../../vendor/laravel-lang/lang'; - } -} diff --git a/tests/TestCase.php b/tests/TestCase.php index bde22745..c732a533 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -31,7 +31,6 @@ use LaravelLang\Publisher\ServiceProvider; use Orchestra\Testbench\TestCase as BaseTestCase; use Tests\Concerns\Asserts; -use Tests\Providers\Provider; abstract class TestCase extends BaseTestCase { @@ -76,8 +75,8 @@ protected function setUp(): void protected function getPackageProviders($app): array { return [ - ServiceProvider::class, LangServiceProvider::class, + ServiceProvider::class, ]; } @@ -98,10 +97,6 @@ protected function getEnvironmentSetUp($app) '{locale}' => ['All rights reserved.', 'Baz'], ]); - - $config->set(Config::PRIVATE_KEY . '.plugins', [ - Provider::class, - ]); } protected function copyFixtures(): void