richie-education 2.25.0-b2.dev115 → 2.25.0-b2.dev116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,7 +68,10 @@ describe('<DashboardCreditCardsManagement/>', () => {
68
68
  });
69
69
 
70
70
  it('renders the correct label for expired date', async () => {
71
- const date = faker.date.past();
71
+ const now = new Date();
72
+ const date = faker.date.past({
73
+ refDate: new Date(now.getFullYear(), now.getMonth(), 0, 23, 59, 59),
74
+ });
72
75
  const creditCard: CreditCard = CreditCardFactory({
73
76
  expiration_month: date.getMonth() + 1,
74
77
  expiration_year: date.getFullYear(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.25.0-b2.dev115",
3
+ "version": "2.25.0-b2.dev116",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {