diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.test.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.test.ts index 1d9b899d82..b170d4859e 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.test.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.test.ts @@ -4,9 +4,7 @@ import { UmbServerPathUniqueSerializer } from './server-path-unique-serializer.j describe('UmbServerPathUniqueSerializer', () => { let serializer: UmbServerPathUniqueSerializer; const serverPath = 'Folder A/Folder AA/some-Filename-WithCasing_underscore.js'; - const expectedUnique = 'Folder%20A%2FFolder%20AA%2Fsome-Filename-WithCasing_underscore%25dot%25js'; - const expectedParentUnique = 'Folder%20A%2FFolder%20AA'; beforeEach(() => { serializer = new UmbServerPathUniqueSerializer(); @@ -34,16 +32,6 @@ describe('UmbServerPathUniqueSerializer', () => { }); }); - describe('toParentUnique', () => { - it('converts a server path to a URL friendly parent unique', () => { - expect(serializer.toParentUnique(serverPath)).to.equal(expectedParentUnique); - }); - - it('returns null if the server path is the root', () => { - expect(serializer.toParentUnique('')).to.be.null; - }); - }); - describe('toServerPath', () => { it('converts a URL friendly unique to a server path', () => { expect(serializer.toServerPath(expectedUnique)).to.equal(serverPath);