mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 12:41:46 +00:00
return done in smoke test
This commit is contained in:
parent
ae897cb41d
commit
948183b685
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ describe "Opening", ->
|
|||
if err? then done(err)
|
||||
csrfMatches = stdout.match("<input name=\"_csrf\" type=\"hidden\" value=\"(.*?)\">")
|
||||
if !csrfMatches?
|
||||
logger.err stdout:stdout, "smoke test: does not hace csrf token"
|
||||
return("smoke test: does not hace csrf token")
|
||||
logger.err stdout:stdout, "smoke test: does not have csrf token"
|
||||
return done("smoke test: does not have csrf token")
|
||||
csrf = csrfMatches[1]
|
||||
|
||||
# Change cookie to be non secure so curl will send it
|
||||
|
|
Loading…
Reference in a new issue