Replace the login validating command with a non-EPP impl

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=125336530
This commit is contained in:
cgoldfeder
2016-06-27 16:23:38 -04:00
committed by Ben McIlwain
parent 2b2fb958f6
commit 757aed2d80
3 changed files with 13 additions and 106 deletions
@@ -24,6 +24,7 @@ import com.google.common.collect.ImmutableSet;
import com.beust.jcommander.ParameterException;
import google.registry.flows.EppException;
import google.registry.flows.TransportCredentials.BadRegistrarPasswordException;
import google.registry.model.registrar.Registrar;
import google.registry.testing.CertificateSamples;
import google.registry.util.CidrAddressBlock;
@@ -62,7 +63,7 @@ public class ValidateLoginCredentialsCommandTest
@Test
public void testFailure_loginWithBadPassword() throws Exception {
thrown.expect(EppException.class);
thrown.expect(BadRegistrarPasswordException.class);
runCommand(
"--client=NewRegistrar",
"--password=" + new StringBuffer(PASSWORD).reverse(),