Add test for member pull

This commit is contained in:
philipp lang 2022-11-16 23:23:52 +01:00
parent 6bb8967c9e
commit ee6927528f
1 changed files with 7 additions and 8 deletions

View File

@ -3,7 +3,6 @@
namespace Tests\Feature\Member;
use App\Actions\MemberPullAction;
use App\Activity;
use App\Member\Member;
use App\Member\Membership;
use App\Setting\NamiSettings;
@ -21,7 +20,7 @@ class MemberPullActionTest extends TestCase
{
$member = Member::factory()
->defaults()
->has(Membership::factory()->inNami(60)->for(Activity::factory()))
->has(Membership::factory()->inNami(60)->in('€ LeiterIn', 63))
->inNami(123)
->create();
app(MemberFake::class)->shows(55, 123, [