diff --git a/src/Data/Member.php b/src/Data/Member.php index 31fd072..d408e7d 100644 --- a/src/Data/Member.php +++ b/src/Data/Member.php @@ -133,6 +133,7 @@ class Member extends Data 'regionId' => $this->regionId, 'staatsangehoerigkeitId' => $this->nationalityId, 'zeitschriftenversand' => $this->sendNewspaper, + 'emailVertretungsberechtigter' => $this->emailParents, ]; } diff --git a/tests/Unit/Api/PutMemberTest.php b/tests/Unit/Api/PutMemberTest.php index d9c33e5..67a03ee 100644 --- a/tests/Unit/Api/PutMemberTest.php +++ b/tests/Unit/Api/PutMemberTest.php @@ -27,6 +27,7 @@ class PutMemberTest extends TestCase 'regionId' => 11, 'nationalityId' => 12, 'beitragsartId' => null, + 'emailParents' => 'a@b.de', ]); $response = $this->login()->putMember($member, 78, 79); @@ -48,6 +49,7 @@ class PutMemberTest extends TestCase 'staatsangehoerigkeitId' => 12, 'ersteTaetigkeitId' => 78, 'ersteUntergliederungId' => 79, + 'emailVertretungsberechtigter' => 'a@b.de', ]); }