mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-01 15:09:33 +08:00
fix tests
This commit is contained in:
Generated
+19
-19
@@ -128,16 +128,16 @@
|
||||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"version": "3.259.0",
|
||||
"version": "3.259.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||
"reference": "096711644ebe5c956a97ef449fa2cb3b66443c25"
|
||||
"reference": "b200fc0a04e904bfc44922767388b279bf90ffe4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/096711644ebe5c956a97ef449fa2cb3b66443c25",
|
||||
"reference": "096711644ebe5c956a97ef449fa2cb3b66443c25",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b200fc0a04e904bfc44922767388b279bf90ffe4",
|
||||
"reference": "b200fc0a04e904bfc44922767388b279bf90ffe4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -216,9 +216,9 @@
|
||||
"support": {
|
||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.259.0"
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.259.1"
|
||||
},
|
||||
"time": "2023-02-17T19:21:38+00:00"
|
||||
"time": "2023-02-20T19:21:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "blade-ui-kit/blade-heroicons",
|
||||
@@ -1482,7 +1482,7 @@
|
||||
},
|
||||
{
|
||||
"name": "filament/support",
|
||||
"version": "2.x-dev",
|
||||
"version": "3.x-dev",
|
||||
"dist": {
|
||||
"type": "path",
|
||||
"url": "packages/support",
|
||||
@@ -2854,16 +2854,16 @@
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem",
|
||||
"version": "3.12.2",
|
||||
"version": "3.12.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thephpleague/flysystem.git",
|
||||
"reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f"
|
||||
"reference": "81e87e74dd5213795c7846d65089712d2dda90ce"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f6377c709d2275ed6feaf63e44be7a7162b0e77f",
|
||||
"reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f",
|
||||
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/81e87e74dd5213795c7846d65089712d2dda90ce",
|
||||
"reference": "81e87e74dd5213795c7846d65089712d2dda90ce",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2925,7 +2925,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/thephpleague/flysystem/issues",
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.12.2"
|
||||
"source": "https://github.com/thephpleague/flysystem/tree/3.12.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -2941,7 +2941,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-19T12:02:19+00:00"
|
||||
"time": "2023-02-18T15:32:41+00:00"
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem-aws-s3-v3",
|
||||
@@ -3206,16 +3206,16 @@
|
||||
},
|
||||
{
|
||||
"name": "livewire/livewire",
|
||||
"version": "v2.11.2",
|
||||
"version": "v2.12.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/livewire/livewire.git",
|
||||
"reference": "e92233f31dc1b88fb1ac242b32afe1ab7525ee05"
|
||||
"reference": "9da51085a7b02a8512a9d4c525d5ea96e8f52aa0"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/livewire/livewire/zipball/e92233f31dc1b88fb1ac242b32afe1ab7525ee05",
|
||||
"reference": "e92233f31dc1b88fb1ac242b32afe1ab7525ee05",
|
||||
"url": "https://api.github.com/repos/livewire/livewire/zipball/9da51085a7b02a8512a9d4c525d5ea96e8f52aa0",
|
||||
"reference": "9da51085a7b02a8512a9d4c525d5ea96e8f52aa0",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -3267,7 +3267,7 @@
|
||||
"description": "A front-end framework for Laravel.",
|
||||
"support": {
|
||||
"issues": "https://github.com/livewire/livewire/issues",
|
||||
"source": "https://github.com/livewire/livewire/tree/v2.11.2"
|
||||
"source": "https://github.com/livewire/livewire/tree/v2.12.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -3275,7 +3275,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-29T23:45:02+00:00"
|
||||
"time": "2023-02-20T13:30:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "maennchen/zipstream-php",
|
||||
|
||||
@@ -63,7 +63,7 @@ trait HasActions
|
||||
} catch (Cancel $exception) {
|
||||
}
|
||||
|
||||
if (blank($this->redirectTo)) {
|
||||
if (filled($this->redirectTo)) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,10 @@ class TestsPageActions
|
||||
|
||||
$this->call('mountAction', $name);
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$action = $this->instance()->getCachedAction($name);
|
||||
|
||||
if (! $action->shouldOpenModal()) {
|
||||
@@ -98,6 +102,10 @@ class TestsPageActions
|
||||
|
||||
$this->call('callMountedAction', json_encode($arguments));
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
if ($this->get('mountedAction') !== $action->getName()) {
|
||||
$this->assertDispatchedBrowserEvent('close-modal', [
|
||||
'id' => 'page-action',
|
||||
|
||||
@@ -83,7 +83,7 @@ trait HasFormComponentActions
|
||||
} catch (Cancel $exception) {
|
||||
}
|
||||
|
||||
if (blank($this->redirectTo)) {
|
||||
if (filled($this->redirectTo)) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ trait HasActions
|
||||
} catch (Cancel $exception) {
|
||||
}
|
||||
|
||||
if (blank($this->redirectTo)) {
|
||||
if (filled($this->redirectTo)) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ trait HasBulkActions
|
||||
} catch (Cancel $exception) {
|
||||
}
|
||||
|
||||
if (blank($this->redirectTo)) {
|
||||
if (filled($this->redirectTo)) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,10 @@ class TestsActions
|
||||
|
||||
$this->call('mountTableAction', $name, $record);
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$action = $livewire->getCachedTableAction($name) ?? $livewire->getCachedTableEmptyStateAction($name) ?? $livewire->getCachedTableHeaderAction($name);
|
||||
|
||||
if (! $action->shouldOpenModal()) {
|
||||
@@ -107,6 +111,10 @@ class TestsActions
|
||||
|
||||
$this->call('callMountedTableAction', json_encode($arguments));
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
if ($this->get('mountedTableAction') !== $action->getName()) {
|
||||
$this->assertDispatchedBrowserEvent('close-modal', [
|
||||
'id' => "{$livewire->id}-table-action",
|
||||
|
||||
@@ -42,6 +42,10 @@ class TestsBulkActions
|
||||
|
||||
$this->call('mountTableBulkAction', $name, $records);
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$action = $livewire->getCachedTableBulkAction($name);
|
||||
|
||||
if (! $action->shouldOpenModal()) {
|
||||
@@ -115,6 +119,10 @@ class TestsBulkActions
|
||||
|
||||
$this->call('callMountedTableBulkAction', json_encode($arguments));
|
||||
|
||||
if (filled($this->instance()->redirectTo)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
if ($this->get('mountedTableBulkAction') !== $action->getName()) {
|
||||
$this->assertDispatchedBrowserEvent('close-modal', [
|
||||
'id' => "{$livewire->id}-table-bulk-action",
|
||||
|
||||
Reference in New Issue
Block a user