Fix tests
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2024-08-29 22:59:55 +02:00
parent c43f0fd1a5
commit 8d11250b2a
1 changed files with 8 additions and 1 deletions

View File

@ -2,15 +2,22 @@
namespace Tests\EndToEnd;
use App\Country;
use App\Member\Member;
use Tests\EndToEndTestCase;
class MemberSearchTest extends EndToEndTestCase
{
public function setUp(): void
{
parent::setUp();
Country::factory()->create(['name' => 'Deutschland']);
$this->withoutExceptionHandling()->login()->loginNami();
}
public function testItHandlesFullTextSearch(): void
{
$this->withoutExceptionHandling()->login()->loginNami();
Member::factory()->defaults()->count(2)->create(['firstname' => 'Alexander']);
Member::factory()->defaults()->create(['firstname' => 'Heinrich']);