createsSuccessfully(16, 65); $this->login(); $id = $this->login()->putMembership(16, Membership::from([ 'startsAt' => now(), 'groupId' => 150, 'activityId' => 56, 'subactivityId' => 89, ])); $this->assertEquals(65, $id); Http::assertSentCount(1); app(MembershipFake::class)->assertCreated(16, [ 'taetigkeitId' => 56, 'untergliederungId' => 89, 'aktivVon' => '2021-02-03T00:00:00', 'gruppierungId' => 150, ]); } }