pricing - test time restrictions
MODIFY
test/api/BillingTest.ts
test/api/BillingTest.ts
@@ -804,7 +804,7 @@ describe('Billing', function() {
const transactionID = await billingTestHelper.generateTransaction(billingTestHelper.userContext);
assert(transactionID, 'transactionID should not be null');
// Check that we have a new invoice with an invoiceID and an invoiceNumber
- await billingTestHelper.checkTransactionBillingData(transactionID, BillingInvoiceStatus.PAID, 55.22);
+ await billingTestHelper.checkTransactionBillingData(transactionID, BillingInvoiceStatus.PAID, 59.99);
});
it('should bill an invoice taking a reverted Time Range into account', async () => {

MODIFY
test/api/BillingTestHelper.ts
test/api/BillingTestHelper.ts
@@ -363,7 +363,7 @@ export default class BillingTestHelper {
} else if (testMode === 'NEXT_HOUR') {
dimensions = {
chargingTime: {
- price: 5, // Euro per hour
+ price: 30, // Euro per hour
active: true
},
};

pricing - test time restrictions