Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Migration Plugin IT failure

git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus-plugins/trunk/nexus-migration-plugin@507 c41184c3-3edd-4803-b646-023156917d6f
  • Loading branch information...
commit eed163cecae95f262c7ba03f7f96dc9f2e7ffeca 1 parent 46422a1
Marvin Froeder velo authored
4 ...in-test-harness/src/test/java/org/sonatype/nexus/plugins/migration/AbstractMigrationIntegrationTest.java
@@ -73,7 +73,7 @@ public AbstractMigrationIntegrationTest()
73 73 Assert.fail( "Failed to lookup component: " + e.getMessage() );
74 74 }
75 75 this.groupUtil = new GroupMessageUtil( this, this.getXMLXStream(), MediaType.APPLICATION_XML );
76   - this.searchUtil = new SearchMessageUtil();
  76 + this.searchUtil = new SearchMessageUtil( this );
77 77 this.userUtil = new UserMessageUtil( this, getXMLXStream(), MediaType.APPLICATION_XML );
78 78 this.roleUtil = new RoleMessageUtil( this, getXMLXStream(), MediaType.APPLICATION_XML );
79 79
@@ -174,7 +174,7 @@ protected void checkArtifactOnGroup( String nexusGroupId, String groupId, String
174 174 protected void checkIndex( String repoId, String groupId, String artifactId, String version )
175 175 throws Exception
176 176 {
177   - List<NexusArtifact> artifacts = SearchMessageUtil.searchFor( groupId, artifactId, version, repoId );
  177 + List<NexusArtifact> artifacts = searchUtil.searchForGav( groupId, artifactId, version, repoId );
178 178 Assert.assertEquals( "Expected to found only one artifact (" + artifactId + ") instead of " + artifacts.size()
179 179 + "\n" + this.getXMLXStream().toXML( artifacts ), 1, artifacts.size() );
180 180 }
2  pom.xml
@@ -23,7 +23,7 @@
23 23
24 24 <properties>
25 25 <plexus.version>1.2.1</plexus.version>
26   - <nexus.version>1.6.1</nexus.version>
  26 + <nexus.version>1.7.0</nexus.version>
27 27 </properties>
28 28
29 29 <dependencyManagement>

0 comments on commit eed163c

Please sign in to comment.
Something went wrong with that request. Please try again.