mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
added timefreeze to recurly wrapper, don't think it really works but never know *double shurg*
This commit is contained in:
parent
133c4759f8
commit
ca1539cac0
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,7 @@ crypto = require 'crypto'
|
|||
querystring = require 'querystring'
|
||||
RecurlyWrapper = require "../../../../app/js/Features/Subscription/RecurlyWrapper"
|
||||
Settings = require "settings-sharelatex"
|
||||
tk = require("timekeeper")
|
||||
|
||||
fixtures =
|
||||
"subscriptions/44f83d7cba354d5b84812419f923ea96":
|
||||
|
@ -107,7 +108,11 @@ describe "RecurlyWrapper", ->
|
|||
Settings.defaultPlanCode =
|
||||
collaborators: 0
|
||||
versioning: false
|
||||
|
||||
tk.freeze(Date.now())
|
||||
|
||||
afterEach ->
|
||||
tk.reset()
|
||||
|
||||
describe "sign", ->
|
||||
before (done) ->
|
||||
RecurlyWrapper.sign({
|
||||
|
|
Loading…
Reference in a new issue