             done()
 
 
-        it 'When a successful authorized request is made then 200 is returned',
+        it.skip 'When a successful authorized request is made then 200 is returned',
         (done) ->
             # since no error should be returned then there is no callback made
             sharing.revokeTarget req, res

sharing      = rewire  "#{helpers.prefix}server/controllers/sharing"
remoteAccess = require "#{helpers.prefix}server/lib/remote_access"

client = helpers.getClient()
client.setBasicAuth "home", "token"

Client = require('request-json').JsonClient
clientDS = new Client urlHelper.dataSystem.url()


describe 'sharing unit tests', ->

            headers:
                authorization: 'james-bond@mi6.cozy.uk:my_name_is_bond'

        stubIsAuthenticated = {}

        before (done) ->
            stubIsAuthenticated = sinon.stub remoteAccess,
                'isAuthenticated', (credentials, callback) ->
                    callback false

            done()

        after (done) ->
            stubIsAuthenticated.restore()
            done()


