Skip to content

Commit db9b74a

Browse files
committed
Re-enable all possible skipped LDP tests
1 parent 0ad222e commit db9b74a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

test/integration/ldp-test.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('LDP', function () {
7474
})
7575

7676
describe('getGraph', () => {
77-
it.skip('should read and parse an existing file', () => {
77+
it('should read and parse an existing file', () => {
7878
let uri = 'https://localhost:8443/resources/sampleContainer/example1.ttl'
7979
return ldp.getGraph(uri)
8080
.then(graph => {
@@ -135,20 +135,16 @@ describe('LDP', function () {
135135
})
136136
})
137137

138-
it.skip('with a larger file to exceed allowed quota', function (done) {
138+
it.skip('with a larger file to exceed allowed quota', function () {
139139
var randstream = stringToStream(randomBytes(2100))
140-
ldp.put('localhost', '/resources/testQuota.txt', randstream, function (err) {
141-
console.log(err)
140+
return ldp.put('localhost', '/resources/testQuota.txt', randstream).catch((err) => {
142141
assert.notOk(err)
143-
done()
144142
})
145143
})
146-
it.skip('should fail if a over quota', function (done) {
144+
it('should fail if a over quota', function () {
147145
var hellostream = stringToStream('hello world')
148-
ldp.put('localhost', '/resources/testOverQuota.txt', hellostream, function (err) {
149-
console.log(err)
146+
return ldp.put('localhost', '/resources/testOverQuota.txt', hellostream).catch((err) => {
150147
assert.equal(err.status, 413)
151-
done()
152148
})
153149
})
154150
})

0 commit comments

Comments
 (0)