test(server): update member tests for contributionAmount rename

This commit is contained in:
Jennie Robinson Faber 2026-04-19 18:55:46 +01:00
parent 57f5152be4
commit 64a31b51a5
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ describe('members/create.post handler', () => {
email: 'new@example.com', email: 'new@example.com',
name: 'New Member', name: 'New Member',
circle: 'community', circle: 'community',
contributionTier: '0' contributionAmount: 0
}) })
}) })
@ -70,7 +70,7 @@ describe('members/create.post handler', () => {
email: 'new@example.com', email: 'new@example.com',
name: 'New Member', name: 'New Member',
circle: 'community', circle: 'community',
contributionTier: '0', contributionAmount: 0,
helcimCustomerId: 'cust-999', helcimCustomerId: 'cust-999',
role: 'admin' role: 'admin'
}) })
@ -86,7 +86,7 @@ describe('members/create.post handler', () => {
email: 'new@example.com', email: 'new@example.com',
name: 'New Member', name: 'New Member',
circle: 'community', circle: 'community',
contributionTier: '0', contributionAmount: 0,
status: 'pending_payment' status: 'pending_payment'
}) })
}) })

View file

@ -19,7 +19,7 @@ describe('members profile PATCH endpoint', () => {
email: 'test@example.com', email: 'test@example.com',
name: 'Test User', name: 'Test User',
circle: 'community', circle: 'community',
contributionTier: 5, contributionAmount: 5,
pronouns: 'they/them', pronouns: 'they/them',
timeZone: 'America/New_York', timeZone: 'America/New_York',
avatar: 'https://example.com/avatar.jpg', avatar: 'https://example.com/avatar.jpg',