mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
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:
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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue