-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(mail): remove unused MailUtil.parseSystemAddress #7424
As we replaced the lookups and parsing with a streamlined version of it all in MailServiceBean, we don't need this helper function anymore.
- Loading branch information
1 parent
59b09cb
commit 7fc613f
Showing
2 changed files
with
2 additions
and
18 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
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 |
---|---|---|
|
@@ -33,6 +33,7 @@ public void setUp() { | |
|
||
} | ||
|
||
/* | ||
@Test | ||
public void testParseSystemAddress() { | ||
assertEquals("[email protected]", MailUtil.parseSystemAddress("[email protected]").getAddress()); | ||
|
@@ -46,6 +47,7 @@ public void testParseSystemAddress() { | |
assertEquals(null, MailUtil.parseSystemAddress("\"LibraScholar Support Team <[email protected]>")); | ||
assertEquals(null, MailUtil.parseSystemAddress("[email protected], [email protected]")); | ||
} | ||
*/ | ||
|
||
@Test | ||
@Order(1) | ||
|