Skip to content

Commit 9bcf4c6

Browse files
Compose Metadata Analyzer: Use v2 URL
Signed-off-by: Valentijn Scholten <valentijnscholten@gmail.com>
1 parent b5cedfc commit 9bcf4c6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/test/java/org/dependencytrack/tasks/repositories/ComposerMetaAnalyzerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public void testAnalyzerFindsVersionWithLeadingV() throws Exception {
8989

9090
MetaModel metaModel = analyzer.analyze(component);
9191

92-
Assert.assertEquals("v1.1.3", metaModel.getLatestVersion());
92+
Assert.assertEquals("v1.2.0", metaModel.getLatestVersion());
9393
Assert.assertEquals(
94-
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss XXX").parse("2020-05-24 13:03:22 Z"),
94+
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss XXX").parse("2024-10-11 08:11:39 Z"),
9595
metaModel.getPublishedTimestamp()
9696
);
9797
}

src/test/resources/unit/tasks/repositories/https---repo.packagist.org-p-typo3-class-alias-loader.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)