Compare commits
11 Commits
56af6f4cbf
...
1ba3d11325
| Author | SHA1 | Date |
|---|---|---|
|
|
1ba3d11325 | |
|
|
23183db56d | |
|
|
8d54ff131f | |
|
|
2f2c5c660b | |
|
|
b5779c3ecf | |
|
|
1679b6bd0a | |
|
|
4f287c890b | |
|
|
ae0aa30edf | |
|
|
5917a8af6b | |
|
|
3d067ecff9 | |
|
|
285662ba4f |
|
|
@ -1,9 +1,5 @@
|
||||||
# Letzte Änderungen
|
# Letzte Änderungen
|
||||||
|
|
||||||
### 1.12.22
|
|
||||||
|
|
||||||
- Bei Mitgliedern wird nun auch die geschäftliche tel-nr aktualisiert
|
|
||||||
|
|
||||||
### 1.12.21
|
### 1.12.21
|
||||||
|
|
||||||
- Reply-To-Header bei Versand von Prävention-und-Veranstaltungs-Mails kann nun eingestellt werden
|
- Reply-To-Header bei Versand von Prävention-und-Veranstaltungs-Mails kann nun eingestellt werden
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ class MemberRequest extends FormRequest
|
||||||
'send_newspaper' => 'boolean',
|
'send_newspaper' => 'boolean',
|
||||||
'main_phone' => ['nullable', new ValidPhoneRule('Telefon (Eltern)')],
|
'main_phone' => ['nullable', new ValidPhoneRule('Telefon (Eltern)')],
|
||||||
'mobile_phone' => ['nullable', new ValidPhoneRule('Handy (Eltern)')],
|
'mobile_phone' => ['nullable', new ValidPhoneRule('Handy (Eltern)')],
|
||||||
'work_phone' => ['nullable', new ValidPhoneRule('Tel geschäftlich')],
|
|
||||||
'invoice_address' => '',
|
'invoice_address' => '',
|
||||||
'gender_id' => 'nullable|exists:genders,id',
|
'gender_id' => 'nullable|exists:genders,id',
|
||||||
'region_id' => 'nullable|exists:regions,id',
|
'region_id' => 'nullable|exists:regions,id',
|
||||||
|
|
|
||||||
|
|
@ -157,18 +157,6 @@ it('testItSetsLocationToNull', function () {
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('updates work phone', function () {
|
|
||||||
$this->withoutExceptionHandling()->login()->loginNami();
|
|
||||||
$member = factory()->notInNami()->create();
|
|
||||||
fakeRequest();
|
|
||||||
NamiPutMemberAction::allowToRun();
|
|
||||||
|
|
||||||
$this->patch("/member/{$member->id}", MemberUpdateRequestFactory::new()->noNami()->create([
|
|
||||||
'work_phone' => '+49 212 1353688',
|
|
||||||
]));
|
|
||||||
test()->assertDatabaseHas('members', ['work_phone' => '+49 212 1353688']);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('testItUpdatesContact', function () {
|
it('testItUpdatesContact', function () {
|
||||||
$this->withoutExceptionHandling()->login()->loginNami();
|
$this->withoutExceptionHandling()->login()->loginNami();
|
||||||
$member = factory()->notInNami()->create();
|
$member = factory()->notInNami()->create();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue