diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-12-05 17:09:23 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-12-05 23:35:35 +0100 |
commit | a2867c066453ef5d94638566efee5b263f7bf345 (patch) | |
tree | 06c67d18dcd87d8389308f6aea9ed2b1e0dbc904 /core/js/tests | |
parent | efa9ac1230b59eae4f3f508d8e986ee1af2460da (diff) | |
download | nextcloud-server-a2867c066453ef5d94638566efee5b263f7bf345.tar.gz nextcloud-server-a2867c066453ef5d94638566efee5b263f7bf345.zip |
Properly check the data dir
* fixes #1364
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/tests')
-rw-r--r-- | core/js/tests/specs/setupchecksSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 5b2a7881df9..faa8a2bf277 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -103,7 +103,7 @@ describe('OC.SetupChecks tests', function() { it('should return an error if data directory is not protected', function(done) { var async = OC.SetupChecks.checkDataProtected(); - suite.server.requests[0].respond(200, {'Content-Type': 'text/plain'}, 'file contents'); + suite.server.requests[0].respond(200, {'Content-Type': 'text/plain'}, ''); async.done(function( data, s, x ){ expect(data).toEqual([ |