This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 424d6e3 Fixed: fixes testUpdatePartyCreditCard found by Buildbot
424d6e3 is described below
commit 424d6e34d256ac48adfbd5ec1a9cab57060bf1cc
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sun Feb 28 18:22:09 2021 +0100
Fixed: fixes testUpdatePartyCreditCard found by Buildbot
Changes all expireDate to 02/2100.
I'll not know if OFBiz will still be alive then, hope you will ;)
---
applications/datamodel/data/demo/AccountingDemoData.xml | 4 ++--
applications/datamodel/data/demo/OrderDemoData.xml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/applications/datamodel/data/demo/AccountingDemoData.xml
b/applications/datamodel/data/demo/AccountingDemoData.xml
index 82781c5..7de8763 100644
--- a/applications/datamodel/data/demo/AccountingDemoData.xml
+++ b/applications/datamodel/data/demo/AccountingDemoData.xml
@@ -2355,7 +2355,7 @@ under the License.
organizationPartyId="Company" ownerPartyId="Company"
postToGlAccountId="231000" isRefundable="Y" replenishLevel="0.00"
actualBalance="0.00" availableBalance="0.00"/>
<FinAccountStatus finAccountId="AMEX_01" statusId="FNACT_ACTIVE"
statusDate="2009-04-01 00:00:01.000"/>
<PaymentMethod paymentMethodId="AMEX_01" paymentMethodTypeId="CREDIT_CARD"
partyId="Company" description="AmEx 0005" glAccountId="231000"
finAccountId="AMEX_01" fromDate="2009-04-01 00:00:00.000"/>
- <CreditCard paymentMethodId="AMEX_01" cardType="CCT_AMERICANEXPRESS"
cardNumber="378282246310005" expireDate="02/2020" companyNameOnCard="Your
Company Name"
+ <CreditCard paymentMethodId="AMEX_01" cardType="CCT_AMERICANEXPRESS"
cardNumber="378282246310005" expireDate="02/2100" companyNameOnCard="Your
Company Name"
firstNameOnCard="Smart" lastNameOnCard="Guy"
contactMechId="9000"/>
<PaymentMethod paymentMethodId="PETTY_CASH" paymentMethodTypeId="CASH"
partyId="Company" description="Petty Cash" glAccountId="110000"
fromDate="2009-04-01 00:00:00.000"/>
@@ -2460,7 +2460,7 @@ under the License.
<Party partyId="CHN_STA" partyTypeId="PARTY_GROUP"
preferredCurrencyUomId="CNY" statusId="PARTY_ENABLED" createdDate="2009-01-01
00:00:00.000"/>
<PartyGroup partyId="CHN_STA" groupName="State Taxation Administration"/>
<PartyRole partyId="CHN_STA" roleTypeId="TAX_AUTHORITY"/>
- <TaxAuthority taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA"
includeTaxInPrice="N" requireTaxIdForExemption="Y"
+ <TaxAuthority taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA"
includeTaxInPrice="N" requireTaxIdForExemption="Y"
taxIdFormatPattern=""/>
<TaxAuthorityGlAccount taxAuthGeoId="CHN" taxAuthPartyId="CHN_STA"
organizationPartyId="Company" glAccountId="224209"/>
diff --git a/applications/datamodel/data/demo/OrderDemoData.xml
b/applications/datamodel/data/demo/OrderDemoData.xml
index e8c1b6e..5fbea41 100644
--- a/applications/datamodel/data/demo/OrderDemoData.xml
+++ b/applications/datamodel/data/demo/OrderDemoData.xml
@@ -2303,7 +2303,7 @@ under the License.
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9026"
contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2001-05-13 00:00:00.000"/>
<PaymentMethod paymentMethodId="9015" paymentMethodTypeId="CREDIT_CARD"
partyId="DemoCustomer" fromDate="2001-05-13 00:00:00.000"/>
- <CreditCard paymentMethodId="9015" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2021" firstNameOnCard="DEMO"
lastNameOnCard="CUSTOMER" contactMechId="9015"/>
+ <CreditCard paymentMethodId="9015" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2100" firstNameOnCard="DEMO"
lastNameOnCard="CUSTOMER" contactMechId="9015"/>
<!-- EuroCustomer want invoices in euro and be located in Amsterdam -->
<Party partyId="EuroCustomer" partyTypeId="PERSON"
statusId="PARTY_ENABLED" preferredCurrencyUomId="EUR"/>
@@ -2329,7 +2329,7 @@ under the License.
<PartyContactMechPurpose partyId="EuroCustomer" contactMechId="EURO01"
contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2001-05-13 00:00:00.000"/>
<PaymentMethod paymentMethodId="EUROCUSTOMER"
paymentMethodTypeId="CREDIT_CARD" partyId="EuroCustomer" fromDate="2001-05-13
00:00:00.000"/>
- <CreditCard paymentMethodId="EUROCUSTOMER" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2021" firstNameOnCard="EURO"
lastNameOnCard="CUSTOMER" contactMechId="EUROCUSTOMER"/>
+ <CreditCard paymentMethodId="EUROCUSTOMER" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2100" firstNameOnCard="EURO"
lastNameOnCard="CUSTOMER" contactMechId="EUROCUSTOMER"/>
<!-- FrenchCustomer want invoices in euro and be located in Poussan -->
<Party partyId="FrenchCustomer" partyTypeId="PERSON"
statusId="PARTY_ENABLED" preferredCurrencyUomId="EUR"/>
@@ -2355,7 +2355,7 @@ under the License.
<PartyContactMechPurpose partyId="FrenchCustomer" contactMechId="FRA01"
contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2009-01-09 00:00:00.000"/>
<PaymentMethod paymentMethodId="FRENCHCUSTOMER"
paymentMethodTypeId="CREDIT_CARD" partyId="FrenchCustomer" fromDate="2009-01-09
00:00:00.000"/>
- <CreditCard paymentMethodId="FRENCHCUSTOMER" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2020" firstNameOnCard="FRENCH"
lastNameOnCard="CUSTOMER" contactMechId="FRENCHCUSTOMER"/>
+ <CreditCard paymentMethodId="FRENCHCUSTOMER" cardType="CCT_VISA"
cardNumber="4111111111111111" expireDate="02/2100" firstNameOnCard="FRENCH"
lastNameOnCard="CUSTOMER" contactMechId="FRENCHCUSTOMER"/>
<PartyTaxAuthInfo partyId="FrenchCustomer" taxAuthGeoId="FRA"
taxAuthPartyId="FRA_TA" fromDate="2001-05-13 00:00:00.000"
partyTaxId="FR-12345678901" isExempt="N"/>
<!--PartyTaxAuthInfo partyId="Company" taxAuthGeoId="FRA"
taxAuthPartyId="FRA_TA" fromDate="2014-01-01 00:00:00.000"
partyTaxId="FR-12345678901" isExempt="N"/-->