Add fee recipients test

This commit is contained in:
fragosti
2018-08-15 17:52:13 -07:00
parent 30dfb7511d
commit ca5e52920d
4 changed files with 39 additions and 5 deletions

View File

@@ -5,9 +5,15 @@ export const relayerApiFeeRecipientsResponseSchema = {
{ $ref: '/paginatedCollectionSchema' },
{
properties: {
records: { $ref: '/addressSchema' },
records: { $ref: '/relayerApiFeeRecipientsSchema' },
},
required: ['records'],
},
],
};
export const relayerApiFeeRecipientsSchema = {
id: '/relayerApiFeeRecipientsSchema',
type: 'array',
items: { $ref: '/addressSchema' },
};