forked from civicrm/civicrm-core
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CATL-1613: Add unit test to test is_non_case_email_skipped option dur…
…ing Inbound Email Processing
- Loading branch information
Showing
3 changed files
with
92 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/phpunit/CRM/Utils/Mail/data/inbound/test_cases_email.eml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Delivered-To: [email protected] | ||
Received: by 10.2.13.84 with SMTP id 1234567890; | ||
Wed, 19 Dec 2018 10:01:11 +0100 (CET) | ||
Return-Path: <> | ||
Message-ID: <[email protected]> | ||
Date: Wed, 19 Dec 2018 10:01:07 +0100 | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset="utf-8" | ||
Content-Transfer-Encoding: 8bit | ||
Content-Disposition: inline | ||
From: [email protected] | ||
To: [email protected] | ||
Subject: [case #214bf6d] Magic is here | ||
|
||
This test case is full of fun. |
15 changes: 15 additions & 0 deletions
15
tests/phpunit/CRM/Utils/Mail/data/inbound/test_non_cases_email.eml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Delivered-To: [email protected] | ||
Received: by 10.2.13.84 with SMTP id 1234567890; | ||
Wed, 19 Dec 2018 10:01:11 +0100 (CET) | ||
Return-Path: <> | ||
Message-ID: <[email protected]> | ||
Date: Wed, 19 Dec 2018 10:01:07 +0100 | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset="utf-8" | ||
Content-Transfer-Encoding: 8bit | ||
Content-Disposition: inline | ||
From: [email protected] | ||
To: [email protected] | ||
Subject: Love letter | ||
|
||
I love you unit test, because you are not related to cases. |