Fixed tests

This commit is contained in:
philipp lang 2023-09-06 23:05:23 +02:00
parent b28525be7c
commit 946a6c93b2
1 changed files with 0 additions and 14 deletions

View File

@ -177,20 +177,6 @@ class IndexTest extends TestCase
], $response, 'data.data.0.memberships.0');
}
public function testItDoesntShowEndedMemberships(): void
{
$this->withoutExceptionHandling()->login()->loginNami();
$group = Group::factory()->create();
$member = Member::factory()
->defaults()
->has(Membership::factory()->for($group)->in('€ Mitglied', 122, 'Wölfling', 234)->ended())
->create();
$response = $this->get('/member');
$this->assertCount(0, $this->inertia($response, 'data.data.0.memberships'));
}
public function testItReturnsPayments(): void
{
$this->withoutExceptionHandling()->login()->loginNami();