mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-01 15:09:33 +08:00
Fix deprecation description (#19362)
* Update .stubs.php Signed-off-by: Florian Raith <37345813+florianraith@users.noreply.github.com> * Update 05-testing-actions.md --------- Signed-off-by: Florian Raith <37345813+florianraith@users.noreply.github.com> Co-authored-by: Dan Harrin <git@danharrin.com>
This commit is contained in:
@@ -314,7 +314,7 @@ it('can only print a sent invoice', function () {
|
||||
});
|
||||
```
|
||||
|
||||
To ensure sets of actions exist in the correct order, you can use `assertActionsExistInOrder()`:
|
||||
To ensure sets of actions exist in the correct order, you can use `assertActionListInOrder()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
@@ -325,7 +325,7 @@ it('can have actions in order', function () {
|
||||
livewire(EditInvoice::class, [
|
||||
'invoice' => $invoice,
|
||||
])
|
||||
->assertActionsExistInOrder(['send', 'export']);
|
||||
->assertActionListInOrder(['send', 'export']);
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace Livewire\Features\SupportTesting {
|
||||
public function assertTableBulkActionDoesNotExist(string $name): static {}
|
||||
|
||||
/**
|
||||
* @deprecated Use `assertActionsExistInOrder()` instead.
|
||||
* @deprecated Use `assertActionListInOrder()` instead.
|
||||
*/
|
||||
public function assertTableBulkActionsExistInOrder(array $names): static {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user