From: Brett Porter Date: Sat, 23 Dec 2006 08:35:21 +0000 (+0000) Subject: fix failing unit test X-Git-Tag: archiva-0.9-alpha-1~194 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bd0f01885201f65b43e53c992937a261db80a8f0;p=archiva.git fix failing unit test git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489867 13f79535-47bb-0310-9956-ffa450edef68 --- 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 @@