mirror of
https://github.com/google/nomulus.git
synced 2025-08-01 23:42:12 +02:00
Clean up some areas in preparation for externalized codebase
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221454055
This commit is contained in:
parent
c0239b0a07
commit
b317aab22f
6 changed files with 6 additions and 9 deletions
|
@ -109,10 +109,8 @@ public class BillingEmailUtilsTest {
|
|||
.isEqualTo("Attached is the 2017-10 invoice for the domain registry.");
|
||||
assertThat(contents.getBodyPart(1)).isInstanceOf(BodyPart.class);
|
||||
BodyPart attachmentPart = contents.getBodyPart(1);
|
||||
// TODO(b/71631624): Fix content type in nomulus build to be "text/csv; charset=utf-8" once next
|
||||
// version of framework is released.
|
||||
assertThat(attachmentPart.getContentType())
|
||||
.isEqualTo("text/plain; name=CRR-INV-2017-10.csv");
|
||||
.isEqualTo("text/csv; charset=utf-8; name=CRR-INV-2017-10.csv");
|
||||
assertThat(attachmentPart.getContent().toString()).isEqualTo("test,data\nhello,world");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue