Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAustin Schaffer <austin.schaffer@ryansg.com>2019-11-07 14:13:59 -0500
committerSchaffer, Austin <austin.schaffer@ryansg.com>2019-11-07 16:25:33 -0500
commit48aa315c2ac2b096b0ad0f23b9bfee12d7aa16b1 (patch)
tree02325b4a635c1bd701dceac963fcdde16b956388 /test
parent9f8fb90d0d2861dceacd384513409044251a06a8 (diff)
downloadliza-48aa315c2ac2b096b0ad0f23b9bfee12d7aa16b1.tar.gz
liza-48aa315c2ac2b096b0ad0f23b9bfee12d7aa16b1.tar.bz2
liza-48aa315c2ac2b096b0ad0f23b9bfee12d7aa16b1.zip
[DEV-6353] Get and set past rate data
Diffstat (limited to 'test')
-rw-r--r--test/server/request/DataProcessorTest.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/server/request/DataProcessorTest.ts b/test/server/request/DataProcessorTest.ts
index 361d99a..d0e52d8 100644
--- a/test/server/request/DataProcessorTest.ts
+++ b/test/server/request/DataProcessorTest.ts
@@ -647,13 +647,13 @@ function createStubQuote()
{
let quote_data: Record<string, any> = {};
- return {
+ return <ServerSideQuote>{
getRatedDate()
{
- return 1572292453;
+ return <UnixTimestamp>1572292453;
},
- setRatedDate( _timestamp: any )
+ setRatedDate( _timestamp: UnixTimestamp )
{
return this;
},
@@ -683,14 +683,14 @@ function createStubQuote()
return this;
},
- setLastPremiumDate( _timestamp: any )
+ setLastPremiumDate( _timestamp: UnixTimestamp )
{
return this;
},
getLastPremiumDate()
{
- return 1572292453;
+ return <UnixTimestamp>1572292453;
},
setRateBucket( _bucket: any )