 { withConvertedUser }               = require '../../../../../workers/social/testhelper'
 { withConvertedUserAndApiToken }    = require '../../../../../workers/social/testhelper/models/apitokenhelper'
 
-apiErrors = require './errors'
+apiErrors                           = require './errors'
+KodingLogger                        = require '../../../../models/kodinglogger'
+
 
 generateLogRequestParams = (opts = {}, subdomain) ->
 

      done()


beforeTests()

runTests()

      withConvertedUser { role: 'admin' }, (admin) ->
        TESTUSERS.admin = admin

        KodingLogger[TESTSCOPE] TESTUSERS.admin.group.slug, TESTLOG
        done()


