fix tests
This commit is contained in:
parent
7b6616c292
commit
bda8b9c293
|
@ -46,7 +46,7 @@ class StoreForGroupAction
|
|||
];
|
||||
|
||||
Membership::where($attributes)->active()->whereNotIn('member_id', $members)->get()
|
||||
->each(fn ($membership) => MembershipDestroyAction::run($membership));
|
||||
->each(fn ($membership) => MembershipDestroyAction::run($membership->id));
|
||||
|
||||
collect($members)
|
||||
->except(Membership::where($attributes)->active()->pluck('member_id'))
|
||||
|
|
Loading…
Reference in New Issue