mirror of https://github.com/apache/archiva.git
fix junit EditRemoteRepositoryActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
98f74f984a
commit
ef36672d5f
|
@ -155,7 +155,7 @@ public class EditRemoteRepositoryActionTest
|
||||||
|
|
||||||
//action = (EditRemoteRepositoryAction) lookup( Action.class.getName(), "editRemoteRepositoryAction" );
|
//action = (EditRemoteRepositoryAction) lookup( Action.class.getName(), "editRemoteRepositoryAction" );
|
||||||
|
|
||||||
action = (EditRemoteRepositoryAction) getActionProxy( "editRemoteRepository.action" ).getAction();
|
action = (EditRemoteRepositoryAction) getActionProxy( "/admin/editRemoteRepository.action" ).getAction();
|
||||||
|
|
||||||
archivaConfigurationControl = MockControl.createControl( ArchivaConfiguration.class );
|
archivaConfigurationControl = MockControl.createControl( ArchivaConfiguration.class );
|
||||||
archivaConfiguration = (ArchivaConfiguration) archivaConfigurationControl.getMock();
|
archivaConfiguration = (ArchivaConfiguration) archivaConfigurationControl.getMock();
|
||||||
|
|
Loading…
Reference in New Issue