@@ -65,8 +65,6 @@ describe('AccountTemplate', () => {
65
65
66
66
describe ( 'templateSubtitutionsFor()' , ( ) => {
67
67
it ( 'should not update the webid' , ( ) => {
68
- AccountTemplate . registerHostname ( 'https://offexample.com/' )
69
-
70
68
const userAccount = new UserAccount ( {
71
69
webId : 'https://alice.example.com/#me' ,
72
70
@@ -79,8 +77,6 @@ describe('AccountTemplate', () => {
79
77
} )
80
78
81
79
it ( 'should update the webid' , ( ) => {
82
- AccountTemplate . registerHostname ( 'http://localhost:8443/' )
83
-
84
80
const userAccount = new UserAccount ( {
85
81
webId : 'http://localhost:8443/alice/#me' ,
86
82
@@ -95,8 +91,6 @@ describe('AccountTemplate', () => {
95
91
96
92
describe ( 'creating account where webId does match server Uri?' , ( ) => {
97
93
it ( 'should have a relative uri for the base path rather than a complete uri' , ( ) => {
98
- AccountTemplate . registerHostname ( 'http://localhost:8443/' )
99
-
100
94
const userAccount = new UserAccount ( {
101
95
webId : 'http://localhost:8443/alice/#me' ,
102
96
0 commit comments