Skip to content

Commit 8006db3

Browse files
committed
Migrate default templates to the new ResourceMapper mappings
Closes #948
1 parent b9debbe commit 8006db3

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

test/integration/account-creation-oidc-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe('AccountManager (OIDC account creation tests)', function () {
129129
}
130130
var domain = host.split(':')[0]
131131
var card = read(path.join('accounts/nicola.' + domain,
132-
'profile/card'))
132+
'profile/card$.ttl'))
133133
var cardAcl = read(path.join('accounts/nicola.' + domain,
134134
'profile/card.acl'))
135135
var prefs = read(path.join('accounts/nicola.' + domain,

test/integration/account-manager-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe('AccountManager', () => {
107107
expect(found).to.be.true
108108
})
109109
.then(() => {
110-
let profile = fs.readFileSync(path.join(accountDir, '/profile/card'), 'utf8')
110+
let profile = fs.readFileSync(path.join(accountDir, '/profile/card$.ttl'), 'utf8')
111111
expect(profile).to.include('"Alice Q."')
112112

113113
let rootAcl = fs.readFileSync(path.join(accountDir, '.acl'), 'utf8')

test/integration/account-template-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('AccountTemplate', () => {
4646
return template.processAccount(accountPath)
4747
})
4848
.then(() => {
49-
let profile = fs.readFileSync(path.join(accountPath, '/profile/card'), 'utf8')
49+
let profile = fs.readFileSync(path.join(accountPath, '/profile/card$.ttl'), 'utf8')
5050
expect(profile).to.include('"Alice Q."')
5151

5252
let rootAcl = fs.readFileSync(path.join(accountPath, '.acl'), 'utf8')

0 commit comments

Comments
 (0)