Skip to content

Commit 70cf34c

Browse files
committed
test: remove invalid test case
1 parent fd40840 commit 70cf34c

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

test/resolve/adapters/defaultSourceAdapter.test.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { META_XML_SUFFIX } from '../../../src/common';
1212

1313
describe('DefaultSourceAdapter', () => {
1414
it('should return a SourceComponent when given a metadata xml file', () => {
15-
const type = registry.types.apexclass;
15+
const type = registry.types.eventdelivery;
1616
const path = join('path', 'to', type.directoryName, `My_Test.${type.suffix}${META_XML_SUFFIX}`);
1717
const adapter = new DefaultSourceAdapter(type);
1818
expect(adapter.getComponent(path)).to.deep.equal(
@@ -23,17 +23,4 @@ describe('DefaultSourceAdapter', () => {
2323
})
2424
);
2525
});
26-
27-
it('should return a SourceComponent when given a content-only metadata file', () => {
28-
const type = registry.types.apexclass;
29-
const path = join('path', 'to', type.directoryName, `My_Test.${type.suffix}`);
30-
const adapter = new DefaultSourceAdapter(type);
31-
expect(adapter.getComponent(path)).to.deep.equal(
32-
new SourceComponent({
33-
name: 'My_Test',
34-
type,
35-
xml: path,
36-
})
37-
);
38-
});
3926
});

0 commit comments

Comments
 (0)