Merge pull request #36 from filamentphp/fix/testable-livewire

Fix: update TestableLivewire to use new Testable mixin
This commit is contained in:
Adam Weston
2023-08-14 09:05:58 -04:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -2,10 +2,10 @@
namespace VendorName\Skeleton\Testing;
use Livewire\Testing\TestableLivewire;
use Livewire\Features\SupportTesting\Testable;
/**
* @mixin TestableLivewire
* @mixin Testable
*/
class TestsSkeleton
{