Skip to content

Commit a5ab656

Browse files
committed
removed hostname registration deleted fn
1 parent 99b3219 commit a5ab656

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/integration/account-template-test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ describe('AccountTemplate', () => {
6565

6666
describe('templateSubtitutionsFor()', () => {
6767
it('should not update the webid', () => {
68-
AccountTemplate.registerHostname('https://offexample.com/')
69-
7068
const userAccount = new UserAccount({
7169
webId: 'https://alice.example.com/#me',
7270
@@ -79,8 +77,6 @@ describe('AccountTemplate', () => {
7977
})
8078

8179
it('should update the webid', () => {
82-
AccountTemplate.registerHostname('http://localhost:8443/')
83-
8480
const userAccount = new UserAccount({
8581
webId: 'http://localhost:8443/alice/#me',
8682
@@ -95,8 +91,6 @@ describe('AccountTemplate', () => {
9591

9692
describe('creating account where webId does match server Uri?', () => {
9793
it('should have a relative uri for the base path rather than a complete uri', () => {
98-
AccountTemplate.registerHostname('http://localhost:8443/')
99-
10094
const userAccount = new UserAccount({
10195
webId: 'http://localhost:8443/alice/#me',
10296

0 commit comments

Comments
 (0)