Fix tests
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c43f0fd1a5
commit
8d11250b2a
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue