Skip to content

Commit 1f67ce2

Browse files
committed
update tests
1 parent 8d7c273 commit 1f67ce2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/lib/models/user_info.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ describe('User info model', () => {
99
testModel({
1010
model: UserInfo,
1111
orderedFields: [
12-
'id', 'email', 'username', null, null, null, null, 'timezone'
12+
'id', 'email', 'username', null, null, null, null, 'timezone',
13+
null, null, null, null, null, null, null, null, null, null, null,
14+
null, null, 'isPaperTradeEnabled'
1315
]
1416
})
1517

@@ -19,7 +21,8 @@ describe('User info model', () => {
1921
id: new Array(...(new Array(5))).map(() => Math.random()),
2022
email: ['test@test.com', 'what@testing.com', 'really@nope.com'],
2123
username: ['not', 'today', 'man', 'but', 'maybe', 'tomorrow'],
22-
timezone: ['all', 'over', 'the', 'world', 'vim', 'and', 'all']
24+
timezone: ['all', 'over', 'the', 'world', 'vim', 'and', 'all'],
25+
isPaperTradeEnabled: [true, false]
2326
}
2427
})
2528
})

0 commit comments

Comments
 (0)