Skip to content
Browse files

update test since there is a new role metrics-endpoints

  • Loading branch information...
1 parent 376eb73 commit a37e1841b2f31cce35ad1dd6e6aadae961538d9c @jdillon jdillon committed Apr 20, 2013
View
4 ...ava/org/sonatype/nexus/integrationtests/upgrades/nexus652/Nexus652Beta5To10UpgradeIT.java
@@ -87,6 +87,8 @@ public void checkNexusConfig()
public void checkSecurityConfig()
throws IOException
{
+ // FIXME: This is a pretty shitty integration test... not sure this is worth the ~30 seconds it takes to run this
+
org.sonatype.security.model.Configuration secConfig = getSecurityConfigUtil().getSecurityConfig();
Assert.assertEquals( "User Count:", secConfig.getUsers().size(), 7 );
@@ -95,7 +97,7 @@ public void checkSecurityConfig()
{
roleIds.add( role.getId() );
}
- Assert.assertEquals( "Roles Count differs, expected: 29, found: " + roleIds, secConfig.getRoles().size(), 29 );
+ Assert.assertEquals( "Roles Count differs, expected: 30, found: " + roleIds, secConfig.getRoles().size(), 30 );
// again, everything should have been upgraded.
}

0 comments on commit a37e184

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