Skip to content

Commit 10dccdb

Browse files
Fix file browser redirect test
1 parent d935642 commit 10dccdb

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

test/integration/acl-oidc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ describe('ACL HTTP', function () {
6767
options.headers['Authorization'] = 'Bearer ' + accessToken
6868
}
6969

70-
// console.log('in createOptions:', options)
71-
7270
return options
7371
}
7472

test/integration/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ describe('HTTP APIs', function () {
263263
.expect(200, done)
264264
})
265265
it('should redirect to file browser if container was requested as text/html', function (done) {
266-
server.get('/')
266+
server.get('/sampleContainer2/')
267267
.set('Accept', 'text/html')
268268
.expect('content-type', /text\/html/)
269269
.expect(303, done)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
2+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
3+
@prefix ex: <http://example.org/stuff/1.0/> .
4+
5+
<http://www.w3.org/TR/rdf-syntax-grammar>
6+
dc:title "RDF/XML Syntax Specification (Revised)" ;
7+
ex:editor [
8+
ex:fullname "Dave Beckett";
9+
ex:homePage <http://purl.org/net/dajobe/>
10+
] .
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@prefix : <http://example.org/stuff/1.0/> .
2+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3+
:a :b
4+
[ rdf:first "apple";
5+
rdf:rest [ rdf:first "banana";
6+
rdf:rest rdf:nil ]
7+
] .

0 commit comments

Comments
 (0)