@@ -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 email : 'alice@example.com' ,
@@ -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 email : 'alice@example.com' ,
@@ -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 email : 'alice@example.com' ,
0 commit comments