Skip to content

Commit

Permalink
Remove empty snapshot parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Sep 8, 2024
1 parent 60397dd commit be39f3d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/modules/datasource/maven/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,15 +465,13 @@ describe('modules/datasource/maven/index', () => {
meta: null,
pom: Fixtures.get('parent-scm-homepage/pom.xml'),
latest: '1.0.0',
snapshots: [],
};

it('should get source and homepage from parent', async () => {
mockGenericPackage({
meta: Fixtures.get('child-no-info/meta.xml'),
pom: Fixtures.get('child-no-info/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});
mockGenericPackage(parentPackage);
Expand All @@ -491,7 +489,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-empty/meta.xml'),
pom: Fixtures.get('child-empty/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});

Expand All @@ -513,7 +510,6 @@ describe('modules/datasource/maven/index', () => {
meta: null,
pom: parentPom,
latest: '2.0.0',
snapshots: [],
};

const childMeta = Fixtures.get('child-parent-cycle/child.meta.xml');
Expand All @@ -523,13 +519,11 @@ describe('modules/datasource/maven/index', () => {
meta: null,
pom: childPom,
latest: '2.0.0',
snapshots: [],
};

mockGenericPackage({
...childPomMock,
meta: childMeta,
snapshots: [],
html: null,
});
mockGenericPackage(parentPomMock);
Expand All @@ -550,7 +544,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-scm/meta.xml'),
pom: Fixtures.get('child-scm/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});
mockGenericPackage(parentPackage);
Expand All @@ -568,7 +561,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-url/meta.xml'),
pom: Fixtures.get('child-url/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});
mockGenericPackage(parentPackage);
Expand All @@ -586,7 +578,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-all-info/meta.xml'),
pom: Fixtures.get('child-all-info/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});

Expand All @@ -603,7 +594,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-scm-gitatcolon/meta.xml'),
pom: Fixtures.get('child-scm-gitatcolon/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});

Expand All @@ -619,7 +609,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-scm-gitatslash/meta.xml'),
pom: Fixtures.get('child-scm-gitatslash/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});

Expand All @@ -635,7 +624,6 @@ describe('modules/datasource/maven/index', () => {
meta: Fixtures.get('child-scm-gitprotocol/meta.xml'),
pom: Fixtures.get('child-scm-gitprotocol/pom.xml'),
latest: '2.0.0',
snapshots: [],
html: null,
});

Expand Down

0 comments on commit be39f3d

Please sign in to comment.