Compare commits
No commits in common. "f0ed9185ba1dea48e5db6df91e30cee16e84e127" and "8b8f598507a296f409683cc9a2873c9559811476" have entirely different histories.
f0ed9185ba
...
8b8f598507
|
|
@ -1,9 +1,5 @@
|
|||
# Letzte Änderungen
|
||||
|
||||
### 1.12.22
|
||||
|
||||
- Bei Mitgliedern wird nun auch die geschäftliche tel-nr aktualisiert
|
||||
|
||||
### 1.12.21
|
||||
|
||||
- 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',
|
||||
'main_phone' => ['nullable', new ValidPhoneRule('Telefon (Eltern)')],
|
||||
'mobile_phone' => ['nullable', new ValidPhoneRule('Handy (Eltern)')],
|
||||
'work_phone' => ['nullable', new ValidPhoneRule('Tel geschäftlich')],
|
||||
'invoice_address' => '',
|
||||
'gender_id' => 'nullable|exists:genders,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 () {
|
||||
$this->withoutExceptionHandling()->login()->loginNami();
|
||||
$member = factory()->notInNami()->create();
|
||||
|
|
|
|||
Loading…
Reference in New Issue