Skip to content

Commit

Permalink
major fix : test
Browse files Browse the repository at this point in the history
  • Loading branch information
webplusmultimedia committed Mar 3, 2024
1 parent 1cf8a23 commit 5bd21bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"GalleryJsonMedia\\JsonMediaServiceProvider"
],
"aliases": {
"FilamentJsonMedia": "\\GalleryJsonMedia\\Facades\\GalleryJsonMedia"
"FilamentJsonMedia": "GalleryJsonMedia\\Facades\\GalleryJsonMedia"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use WebplusMultimedia\GalleryJsonMedia\Tests\TestCase;
use GalleryJsonMedia\Tests\TestCase;

uses(TestCase::class)->in(__DIR__);
8 changes: 4 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WebplusMultimedia\GalleryJsonMedia\Tests;
namespace GalleryJsonMedia\Tests;

use BladeUI\Heroicons\BladeHeroiconsServiceProvider;
use BladeUI\Icons\BladeIconsServiceProvider;
Expand All @@ -14,11 +14,11 @@
use Filament\Support\SupportServiceProvider;
use Filament\Tables\TablesServiceProvider;
use Filament\Widgets\WidgetsServiceProvider;
use GalleryJsonMedia\JsonMediaServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Livewire\LivewireServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
use RyanChandler\BladeCaptureDirective\BladeCaptureDirectiveServiceProvider;
use WebplusMultimedia\GalleryJsonMedia\GalleryJsonMediaServiceProvider;

class TestCase extends Orchestra
{
Expand All @@ -27,7 +27,7 @@ protected function setUp(): void
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'WebplusMultimedia\\GalleryJsonMedia\\Database\\Factories\\' . class_basename($modelName) . 'Factory'
fn (string $modelName) => 'GalleryJsonMedia\\Database\\Factories\\' . class_basename($modelName) . 'Factory'
);
}

Expand All @@ -48,7 +48,7 @@ protected function getPackageProviders($app)
SupportServiceProvider::class,
TablesServiceProvider::class,
WidgetsServiceProvider::class,
GalleryJsonMediaServiceProvider::class,
JsonMediaServiceProvider::class,
];
}

Expand Down

0 comments on commit 5bd21bb

Please sign in to comment.