             for char in token
                 expect(char in '0123456789abcdefghijklmnopqrstuvwxyz').toBe(true)
             locals.token = token
-            done()
+            done(err)
         )
 
     it "correctly checks the token", (done) ->

COPYRIGHT : (c) 2017 SageMath, Inc.
LICENSE   : AGPLv3
###

pgtest   = require('./pgtest')
db       = undefined

                    where :
                        "email_address = $::TEXT" : locals.email_address
                    cb    : one_result 'email_address_verified', (err, data) ->
                        locals.data = data
                        cb(err)
            (cb) ->
                # and that the token is deleted
                db._query
