action.prepare();
RemoteRepositoryConfiguration repository = action.getRepository();
populateRepository( repository );
+
+ assertEquals("url ", repository.getUrl());
String status = action.commit();
assertEquals( Action.SUCCESS, status );
assertEquals( Collections.singletonList( repository ), configuration.getRemoteRepositories() );
+
+ assertEquals("url", repository.getUrl());
archivaConfigurationControl.verify();
}
{
repository.setId( REPO_ID );
repository.setName( "repo name" );
- repository.setUrl( "url" );
+ repository.setUrl( "url " );
repository.setLayout( "default" );
}