mirror of https://github.com/apache/archiva.git
fix the repository test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
edf6aa2ced
commit
ba1abce283
|
@ -26,7 +26,6 @@ import org.testng.annotations.Test;
|
|||
public class RepositoryTest
|
||||
extends AbstractRepositoryTest
|
||||
{
|
||||
@Test(dependsOnMethods = { "testWithCorrectUsernamePassword" } )
|
||||
public void testAddManagedRepoValidValues()
|
||||
{
|
||||
goToRepositoriesPage();
|
||||
|
@ -37,10 +36,9 @@ public class RepositoryTest
|
|||
assertRepositoriesPage();
|
||||
}
|
||||
|
||||
@Test(dependsOnMethods = { "testAddManagedRepoValidValues" } )
|
||||
public void testAddManagedRepoInvalidValues()
|
||||
{
|
||||
assertRepositoriesPage();
|
||||
goToRepositoriesPage();
|
||||
clickLinkWithLocator( "//div[@id='contentArea']/div/div/a[@href='/archiva/admin/addRepository.action']" );
|
||||
addManagedRepository( "", "" , "" , "", "Maven 2.x Repository", "", "", "" );
|
||||
assertTextPresent( "You must enter a repository identifier." );
|
||||
|
|
Loading…
Reference in New Issue