diff --git a/tests/EndToEnd/MemberSearchTest.php b/tests/EndToEnd/MemberSearchTest.php index 5a0b3314..10af4ee8 100644 --- a/tests/EndToEnd/MemberSearchTest.php +++ b/tests/EndToEnd/MemberSearchTest.php @@ -2,12 +2,19 @@ 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']); + } + public function testItHandlesFullTextSearch(): void { $this->withoutExceptionHandling()->login()->loginNami(); diff --git a/tests/Feature/Member/CreateTest.php b/tests/Feature/Member/CreateTest.php index 5efbccfc..a2098688 100644 --- a/tests/Feature/Member/CreateTest.php +++ b/tests/Feature/Member/CreateTest.php @@ -39,7 +39,7 @@ class CreateTest extends TestCase 'without_education_at' => null, 'without_efz_at' => null, 'address' => '', - ], $response, 'data'); + ], $response, 'meta.default'); } public function testItDoesntDisplayActivitiesAndSubactivitiesNotInNami(): void