remove code from trasnsactionLinkList query, adjusted test to have full URL in apollo mock

This commit is contained in:
Ulf Gebhardt 2022-04-21 13:34:47 +02:00
parent d836fb5375
commit c6a4650866
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 8 additions and 9 deletions

View File

@ -44,7 +44,7 @@ describe('TransactionLinkSummary', () => {
listTransactionLinks: [
{
amount: '75',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 86,
@ -55,7 +55,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '85',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 107,
@ -65,7 +65,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '95',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 92,
@ -76,7 +76,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '150',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 16,
@ -142,7 +142,7 @@ describe('TransactionLinkSummary', () => {
listTransactionLinks: [
{
amount: '76',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 87,
@ -153,7 +153,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '86',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 108,
@ -164,7 +164,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '96',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 93,
@ -175,7 +175,7 @@ describe('TransactionLinkSummary', () => {
},
{
amount: '150',
code: 'ce28664b5308c17f931c0367',
link: 'http://localhost/redeem/ce28664b5308c17f931c0367',
createdAt: '2022-03-16T14:22:40.000Z',
holdAvailableAmount: '5.13109484759482747111',
id: 17,

View File

@ -139,7 +139,6 @@ export const listTransactionLinks = gql`
amount
holdAvailableAmount
memo
code
link
createdAt
validUntil