From bd0f01885201f65b43e53c992937a261db80a8f0 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sat, 23 Dec 2006 08:35:21 +0000 Subject: [PATCH] fix failing unit test git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489867 13f79535-47bb-0310-9956-ffa450edef68 --- .../converter/RepositoryConverterTest.java | 4 +-- .../test/poms/unmodified-artifact-1.0.0.pom | 25 +++++++++++-------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java b/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java index 284ee1d42..15d5f187c 100644 --- a/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java +++ b/archiva-converter/src/test/java/org/apache/maven/archiva/converter/RepositoryConverterTest.java @@ -574,8 +574,8 @@ public class RepositoryConverterTest compareFiles( sourceFile, targetFile ); compareFiles( sourcePomFile, targetPomFile ); - assertEquals( "Check unmodified", origTime, targetFile.lastModified() ); - assertEquals( "Check unmodified", origPomTime, targetPomFile.lastModified() ); + assertEquals( "Check artifact unmodified", origTime, targetFile.lastModified() ); + assertEquals( "Check POM unmodified", origPomTime, targetPomFile.lastModified() ); } public void testModifedArtifactFails() diff --git a/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom b/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom index c570979f4..a8428a8a4 100644 --- a/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom +++ b/archiva-converter/src/test/source-repository/test/poms/unmodified-artifact-1.0.0.pom @@ -1,17 +1,20 @@ -- 2.39.5