mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 13:38:53 +08:00
Merge pull request #36 from filamentphp/fix/testable-livewire
Fix: update TestableLivewire to use new Testable mixin
This commit is contained in:
@@ -10,7 +10,7 @@ use Filament\Support\Facades\FilamentAsset;
|
||||
use Filament\Support\Facades\FilamentIcon;
|
||||
use Filament\Support\Icons\Icon;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Livewire\Testing\TestableLivewire;
|
||||
use Livewire\Features\SupportTesting\Testable;
|
||||
use Spatie\LaravelPackageTools\Commands\InstallCommand;
|
||||
use Spatie\LaravelPackageTools\Package;
|
||||
use Spatie\LaravelPackageTools\PackageServiceProvider;
|
||||
@@ -89,7 +89,7 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
||||
}
|
||||
|
||||
// Testing
|
||||
TestableLivewire::mixin(new TestsSkeleton());
|
||||
Testable::mixin(new TestsSkeleton());
|
||||
}
|
||||
|
||||
protected function getAssetPackageName(): ?string
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace VendorName\Skeleton\Testing;
|
||||
|
||||
use Livewire\Testing\TestableLivewire;
|
||||
use Livewire\Features\SupportTesting\Testable;
|
||||
|
||||
/**
|
||||
* @mixin TestableLivewire
|
||||
* @mixin Testable
|
||||
*/
|
||||
class TestsSkeleton
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user