Add test for member pull
This commit is contained in:
parent
6bb8967c9e
commit
ee6927528f
|
@ -3,7 +3,6 @@
|
||||||
namespace Tests\Feature\Member;
|
namespace Tests\Feature\Member;
|
||||||
|
|
||||||
use App\Actions\MemberPullAction;
|
use App\Actions\MemberPullAction;
|
||||||
use App\Activity;
|
|
||||||
use App\Member\Member;
|
use App\Member\Member;
|
||||||
use App\Member\Membership;
|
use App\Member\Membership;
|
||||||
use App\Setting\NamiSettings;
|
use App\Setting\NamiSettings;
|
||||||
|
@ -21,7 +20,7 @@ class MemberPullActionTest extends TestCase
|
||||||
{
|
{
|
||||||
$member = Member::factory()
|
$member = Member::factory()
|
||||||
->defaults()
|
->defaults()
|
||||||
->has(Membership::factory()->inNami(60)->for(Activity::factory()))
|
->has(Membership::factory()->inNami(60)->in('€ LeiterIn', 63))
|
||||||
->inNami(123)
|
->inNami(123)
|
||||||
->create();
|
->create();
|
||||||
app(MemberFake::class)->shows(55, 123, [
|
app(MemberFake::class)->shows(55, 123, [
|
||||||
|
|
Loading…
Reference in New Issue