Posteingang: Antwortbezug ohne Klammern, Testadresse im Testbetrieb, sofortige Auswertung
Deploy FeWo mit PipelineManager / deploy (push) Successful in 5m6s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 5m6s
- Antwortbezug (In-Reply-To/References) wird mit und ohne spitze Klammern verglichen – Strato liefert ihn ohne, gespeichert war er mit; Antworten blieben deshalb im Posteingang hängen. - Testbetrieb: Die Testadresse steht zusammen mit der genannten Vorgangsnummer für den Gast dieses Vorgangs (alle Antworten kommen vom Testpostfach). Im Live-Betrieb gilt das nicht. - Eine zugeordnete Nachricht wird sofort ausgewertet (automatisch und nach Zuordnung von Hand), nicht erst im Fünf-Minuten-Lauf; die Meldung nennt, was übernommen wurde. Neu: „Erneut auswerten“. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f4a435c71a
commit
ad63db78f3
6 files changed
+78
-11
No files matched your search
@@ -187,6 +187,21 @@ public function test_the_mailbox_is_kept_as_a_record_and_full_mode_reads_every_m
|
||||
$this->assertNotNull($mailbox->fresh()->last_fetched_at);
|
||||
}
|
||||
|
||||
/** Test operation: every answer comes from the test mailbox, which then stands for the guest of the named case. */
|
||||
public function test_in_test_operation_the_test_address_counts_as_the_guest_of_the_named_case(): void
|
||||
{
|
||||
Settings::tenant()->update(['test_recipient' => 'test@example.org']);
|
||||
$booking = $this->request();
|
||||
|
||||
$message = $this->receive(from: 'test@example.org', subject: 'Re: Ihre Anfrage '.$booking->reference, text: 'Strandweg 1');
|
||||
|
||||
$this->assertSame([InboundMessage::ASSIGNED, $booking->id, 'reference_test_sender'], [$message->status, $message->booking_id, $message->match_reason]);
|
||||
|
||||
Settings::tenant()->update(['operating_mode' => 'live']);
|
||||
$live = $this->receive(from: 'test@example.org', subject: 'Re: Ihre Anfrage '.$booking->reference, text: 'Strandweg 1', id: '<live@x>');
|
||||
$this->assertSame(InboundMessage::NEEDS_REVIEW, $live->status, 'in live operation the test address is nobody special');
|
||||
}
|
||||
|
||||
public function test_the_mailbox_can_be_checked_and_incoming_mails_show_on_the_case(): void
|
||||
{
|
||||
$this->actingAs(User::factory()->create());
|
||||
|
||||
Reference in new issue
Block a user