mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix language dependency in unit tests for ContributionMessagesListItem
This commit is contained in:
parent
40e505f6e5
commit
e93e8e6b0a
@ -53,8 +53,8 @@ describe('ContributionMessagesListItem', () => {
|
||||
})
|
||||
|
||||
it('has the message creation date', () => {
|
||||
expect(wrapper.find('div.text-right.is-moderator > span:nth-child(3)').text()).toBe(
|
||||
'Mon Aug 29 2022 12:23:27 GMT+0000 (Coordinated Universal Time)',
|
||||
expect(wrapper.find('div.text-right.is-moderator > span:nth-child(3)').text()).toMatch(
|
||||
'Mon Aug 29 2022 12:23:27 GMT+0000',
|
||||
)
|
||||
})
|
||||
|
||||
@ -113,8 +113,8 @@ describe('ContributionMessagesListItem', () => {
|
||||
})
|
||||
|
||||
it('has the message creation date', () => {
|
||||
expect(wrapper.find('div.is-not-moderator.text-left > span:nth-child(3)').text()).toBe(
|
||||
'Mon Aug 29 2022 12:25:34 GMT+0000 (Coordinated Universal Time)',
|
||||
expect(wrapper.find('div.is-not-moderator.text-left > span:nth-child(3)').text()).toMatch(
|
||||
'Mon Aug 29 2022 12:25:34 GMT+0000',
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
@ -105,8 +105,8 @@ describe('ContributionMessagesListItem', () => {
|
||||
})
|
||||
|
||||
it('has the message creation date', () => {
|
||||
expect(wrapper.find('div.is-moderator.text-left > span:nth-child(3)').text()).toBe(
|
||||
'Mon Aug 29 2022 12:25:34 GMT+0000 (Coordinated Universal Time)',
|
||||
expect(wrapper.find('div.is-moderator.text-left > span:nth-child(3)').text()).toMatch(
|
||||
'Mon Aug 29 2022 12:25:34 GMT+0000',
|
||||
)
|
||||
})
|
||||
|
||||
@ -163,8 +163,8 @@ describe('ContributionMessagesListItem', () => {
|
||||
})
|
||||
|
||||
it('has the message creation date', () => {
|
||||
expect(wrapper.find('div.is-not-moderator.text-right > span:nth-child(3)').text()).toBe(
|
||||
'Mon Aug 29 2022 12:23:27 GMT+0000 (Coordinated Universal Time)',
|
||||
expect(wrapper.find('div.is-not-moderator.text-right > span:nth-child(3)').text()).toMatch(
|
||||
'Mon Aug 29 2022 12:23:27 GMT+0000',
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user