From 70cf34ca4a7987aab605ef093eabdda345434771 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Tue, 25 Jun 2024 11:55:21 -0500 Subject: [PATCH] test: remove invalid test case --- .../resolve/adapters/defaultSourceAdapter.test.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/test/resolve/adapters/defaultSourceAdapter.test.ts b/test/resolve/adapters/defaultSourceAdapter.test.ts index a1841300b6..fc3c0df558 100644 --- a/test/resolve/adapters/defaultSourceAdapter.test.ts +++ b/test/resolve/adapters/defaultSourceAdapter.test.ts @@ -12,7 +12,7 @@ import { META_XML_SUFFIX } from '../../../src/common'; describe('DefaultSourceAdapter', () => { it('should return a SourceComponent when given a metadata xml file', () => { - const type = registry.types.apexclass; + const type = registry.types.eventdelivery; const path = join('path', 'to', type.directoryName, `My_Test.${type.suffix}${META_XML_SUFFIX}`); const adapter = new DefaultSourceAdapter(type); expect(adapter.getComponent(path)).to.deep.equal( @@ -23,17 +23,4 @@ describe('DefaultSourceAdapter', () => { }) ); }); - - it('should return a SourceComponent when given a content-only metadata file', () => { - const type = registry.types.apexclass; - const path = join('path', 'to', type.directoryName, `My_Test.${type.suffix}`); - const adapter = new DefaultSourceAdapter(type); - expect(adapter.getComponent(path)).to.deep.equal( - new SourceComponent({ - name: 'My_Test', - type, - xml: path, - }) - ); - }); });