Skip to content

Commit

Permalink
set scan path to current path
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Oct 26, 2024
1 parent 198cd51 commit 7865499
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file modified tests/database/database.sqlite
Binary file not shown.
4 changes: 4 additions & 0 deletions tests/src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public function getEnvironmentSetUp($app): void
$app['config']->set('database.default', 'sqlite');
$app['config']->set('database.connections.sqlite.database', __DIR__ . '/../database/database.sqlite');

$app['config']->set('filament-translations.paths', [
__DIR__ . '/../..',
]);

$app['config']->set('view.paths', [
...$app['config']->get('view.paths'),
__DIR__ . '/../resources/views',
Expand Down
1 change: 1 addition & 0 deletions tests/src/TranslationResourceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace TomatoPHP\FilamentTranslations\Tests;

use Illuminate\Support\Facades\Config;
use TomatoPHP\FilamentTranslations\Filament\Resources\TranslationResource;
use TomatoPHP\FilamentTranslations\Tests\Models\Translation;
use TomatoPHP\FilamentTranslations\Tests\Models\User;
Expand Down

0 comments on commit 7865499

Please sign in to comment.