Skip to content

Commit 5c95d49

Browse files
committed
update tests
1 parent 5f13807 commit 5c95d49

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

test/integration/account-manager-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ describe.skip('AccountManager', () => {
132132
.then(() => {
133133
const profile = fs.readFileSync(path.join(accountDir, '/profile/card$.ttl'), 'utf8')
134134
expect(profile).to.include('"Alice Q."')
135+
expect(profile).to.include('solid:oidcIssuer')
136+
expect(profile).to.include('<https://localhost:8443>')
135137

136138
const rootAcl = fs.readFileSync(path.join(accountDir, '.acl'), 'utf8')
137139
expect(rootAcl).to.include('<mailto:alice@')

test/integration/account-template-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ describe.skip('AccountTemplate', () => {
5050
.then(() => {
5151
const profile = fs.readFileSync(path.join(accountPath, '/profile/card$.ttl'), 'utf8')
5252
expect(profile).to.include('"Alice Q."')
53+
expect(profile).to.include('solid:oidcIssuer')
54+
expect(profile).to.include('<https://example.com>')
5355

5456
const rootAcl = fs.readFileSync(path.join(accountPath, '.acl'), 'utf8')
5557
expect(rootAcl).to.include('<mailto:alice@')

test/resources/accounts-acl/config/templates/new-account/profile/card

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
solid:account </> ; # link to the account uri
1919
pim:storage </> ; # root storage
20+
solid:oidcIssuer <{{idp}}> ; # identity provider
21+
2022

2123
ldp:inbox </inbox/> ;
2224

test/resources/acl-tls/config/templates/new-account/profile/card$.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
solid:account </> ; # link to the account uri
1919
pim:storage </> ; # root storage
20+
solid:oidcIssuer <{{idp}}> ; # identity provider
2021

2122
ldp:inbox </inbox/> ;
2223

test/surface/docker/server/config/templates/new-account/profile/card$.ttl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
solid:account </> ; # link to the account uri
1919
pim:storage </> ; # root storage
20+
solid:oidcIssuer <{{idp}}> ; # identity provider
2021

2122
ldp:inbox </inbox/> ;
2223

0 commit comments

Comments
 (0)