Skip to content

Commit

Permalink
Update Exist.stub
Browse files Browse the repository at this point in the history
Fix intendation
  • Loading branch information
dissto authored Jul 10, 2024
1 parent b5c3144 commit 4e42e13
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions stubs/Resource/Page/View/RelationManager/Table/Filter/Exist.stub
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
it({{ DESCRIPTION }}, function (string $column) {
$ownerRecord = {{ MODEL_SINGULAR_NAME }}::factory()
->has{{ RELATION_MANAGER_RELATIONSHIP_NAME }}(3)
->create();

livewire({{ RELATION_MANAGER_CLASS }}, [
'ownerRecord' => $ownerRecord,
'pageClass' => {{ RESOURCE_VIEW_CLASS }}
])
->assertTableFilterExists($column);
->has{{ RELATION_MANAGER_RELATIONSHIP_NAME }}(3)
->create();
livewire({{ RELATION_MANAGER_CLASS }}, [
'ownerRecord' => $ownerRecord,
'pageClass' => {{ RESOURCE_VIEW_CLASS }}
])
->assertTableFilterExists($column);
})->with({{ RELATION_MANAGER_TABLE_FILTERS }}){{ RESOLVED_GROUP_METHOD }};

0 comments on commit 4e42e13

Please sign in to comment.