-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed hostname registration deleted fn
- Loading branch information
Showing
1 changed file
with
0 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,8 +65,6 @@ describe('AccountTemplate', () => { | |
|
||
describe('templateSubtitutionsFor()', () => { | ||
it('should not update the webid', () => { | ||
AccountTemplate.registerHostname('https://offexample.com/') | ||
|
||
const userAccount = new UserAccount({ | ||
webId: 'https://alice.example.com/#me', | ||
email: '[email protected]', | ||
|
@@ -79,8 +77,6 @@ describe('AccountTemplate', () => { | |
}) | ||
|
||
it('should update the webid', () => { | ||
AccountTemplate.registerHostname('http://localhost:8443/') | ||
|
||
const userAccount = new UserAccount({ | ||
webId: 'http://localhost:8443/alice/#me', | ||
email: '[email protected]', | ||
|
@@ -95,8 +91,6 @@ describe('AccountTemplate', () => { | |
|
||
describe('creating account where webId does match server Uri?', () => { | ||
it('should have a relative uri for the base path rather than a complete uri', () => { | ||
AccountTemplate.registerHostname('http://localhost:8443/') | ||
|
||
const userAccount = new UserAccount({ | ||
webId: 'http://localhost:8443/alice/#me', | ||
email: '[email protected]', | ||
|