mirror of
https://github.com/google/nomulus.git
synced 2025-05-31 01:34:05 +02:00
Make BillingModule.OVERALL_INVOICE_PREFIX configurable
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221700223
This commit is contained in:
parent
45f63cbecf
commit
36c6265980
8 changed files with 31 additions and 11 deletions
|
@ -62,6 +62,7 @@ public class InvoicingPipelineTest {
|
|||
invoicingPipeline.projectId = "test-project";
|
||||
File beamTempFolder = tempFolder.newFolder();
|
||||
invoicingPipeline.beamBucketUrl = beamTempFolder.getAbsolutePath();
|
||||
invoicingPipeline.invoiceFilePrefix = "REG-INV";
|
||||
invoicingPipeline.beamStagingUrl = beamTempFolder.getAbsolutePath() + "/staging";
|
||||
invoicingPipeline.invoiceTemplateUrl =
|
||||
beamTempFolder.getAbsolutePath() + "/templates/invoicing";
|
||||
|
@ -196,7 +197,7 @@ public class InvoicingPipelineTest {
|
|||
.containsExactlyElementsIn(entry.getValue());
|
||||
}
|
||||
|
||||
ImmutableList<String> overallInvoice = resultFileContents("CRR-INV-2017-10.csv");
|
||||
ImmutableList<String> overallInvoice = resultFileContents("REG-INV-2017-10.csv");
|
||||
assertThat(overallInvoice.get(0))
|
||||
.isEqualTo(
|
||||
"StartDate,EndDate,ProductAccountKey,Amount,AmountCurrency,BillingProductCode,"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue