Skip to content

Commit

Permalink
removed hostname registration deleted fn
Browse files Browse the repository at this point in the history
  • Loading branch information
zg009 committed May 21, 2024
1 parent 99b3219 commit a5ab656
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/integration/account-template-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
Expand All @@ -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]',
Expand All @@ -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]',
Expand Down

0 comments on commit a5ab656

Please sign in to comment.