richie-education 2.25.0-b2.dev43 → 2.25.0-b2.dev44
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.
|
@@ -28,7 +28,7 @@ describe('<ContractStatus />', () => {
|
|
|
28
28
|
|
|
29
29
|
expect(screen.queryByText(/You signed this training contract/)).not.toBeInTheDocument();
|
|
30
30
|
expect(
|
|
31
|
-
screen.queryByText(/The organization
|
|
31
|
+
screen.queryByText(/The organization has signed this training contract./),
|
|
32
32
|
).not.toBeInTheDocument();
|
|
33
33
|
expect(
|
|
34
34
|
screen.queryByText(
|
|
@@ -70,7 +70,7 @@ describe('<ContractStatus />', () => {
|
|
|
70
70
|
screen.queryByText('You have to sign this training contract to access your training.'),
|
|
71
71
|
).not.toBeInTheDocument();
|
|
72
72
|
expect(
|
|
73
|
-
screen.queryByText(/The organization
|
|
73
|
+
screen.queryByText(/The organization has signed this training contract./),
|
|
74
74
|
).not.toBeInTheDocument();
|
|
75
75
|
});
|
|
76
76
|
|
|
@@ -96,10 +96,10 @@ describe('<ContractStatus />', () => {
|
|
|
96
96
|
})}`,
|
|
97
97
|
),
|
|
98
98
|
).toBeInTheDocument();
|
|
99
|
-
// The organization
|
|
99
|
+
// The organization has signed this training contract. Signed on {date}
|
|
100
100
|
expect(
|
|
101
101
|
screen.queryByText(
|
|
102
|
-
`The organization
|
|
102
|
+
`The organization has signed this training contract. Signed on ${intl.formatDate(
|
|
103
103
|
organizationSignedOn,
|
|
104
104
|
{
|
|
105
105
|
...DEFAULT_DATE_FORMAT,
|
|
@@ -10,7 +10,7 @@ const messages = defineMessages({
|
|
|
10
10
|
id: 'components.ContractStatus.learnerSignedOn',
|
|
11
11
|
},
|
|
12
12
|
organizationSignedOn: {
|
|
13
|
-
defaultMessage: 'The organization
|
|
13
|
+
defaultMessage: 'The organization has signed this training contract. Signed on {date}',
|
|
14
14
|
description: 'Label for the date of sign of a training contract by the organization',
|
|
15
15
|
id: 'components.ContractStatus.organizationSignedOn',
|
|
16
16
|
},
|