mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge branch 'master' into montreal_user_location
This commit is contained in:
commit
de1e512172
@ -122,7 +122,7 @@ describe('Transaction', () => {
|
||||
})
|
||||
|
||||
it('has the description gdt.contribution', () => {
|
||||
expect(wrapper.findAll('div.row').at(0).text()).toContain('gdt.contribution')
|
||||
expect(wrapper.findAll('div.row').at(0).text()).toContain('This is a comment')
|
||||
})
|
||||
|
||||
it('renders the amount of euros', () => {
|
||||
|
||||
@ -91,7 +91,7 @@ const getLinesByType = computed(() => {
|
||||
icon: 'heart',
|
||||
iconclasses: 'gradido-global-color-accent',
|
||||
iconColor: '4',
|
||||
description: t('gdt.contribution'),
|
||||
description: props.comment, // t('gdt.contribution'),
|
||||
descriptiontext: n(props.amount, 'decimal') + ' €',
|
||||
credittext: n(props.gdt, 'decimal') + ' GDT',
|
||||
}
|
||||
|
||||
@ -127,7 +127,8 @@ describe('TransactionLink.vue', () => {
|
||||
expect(wrapper.vm.decay).toBe('100')
|
||||
})
|
||||
|
||||
it('computes validLink correctly when link is valid', () => {
|
||||
it('computes validLink correctly when link is valid', async () => {
|
||||
await wrapper.setProps({ validUntil: new Date(new Date().getTime() + 1000000) })
|
||||
expect(wrapper.vm.validLink).toBe(true)
|
||||
})
|
||||
|
||||
|
||||
@ -231,7 +231,6 @@
|
||||
},
|
||||
"gdt": {
|
||||
"calculation": "Berechnung der Gradido Transform",
|
||||
"contribution": "Beitrag",
|
||||
"conversion": "Umrechnung",
|
||||
"conversion-gdt-euro": "Umrechnung Euro / Gradido Transform (GDT)",
|
||||
"credit": "Gutschrift",
|
||||
|
||||
@ -231,7 +231,6 @@
|
||||
},
|
||||
"gdt": {
|
||||
"calculation": "Calculation of Gradido Transform",
|
||||
"contribution": "Contribution",
|
||||
"conversion": "Conversion",
|
||||
"conversion-gdt-euro": "Conversion Euro / Gradido Transform (GDT)",
|
||||
"credit": "Credit",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user