mirror of
https://github.com/google/nomulus.git
synced 2025-05-29 08:50:09 +02:00
Really enable payment page in sandbox
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120372049
This commit is contained in:
parent
4e6c8ec6fe
commit
9c8e23ea57
2 changed files with 2 additions and 19 deletions
|
@ -22,7 +22,6 @@ import static org.mockito.Mockito.when;
|
|||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.domain.registry.braintree.BraintreeRegistrarSyncer;
|
||||
import com.google.domain.registry.config.RegistryEnvironment;
|
||||
import com.google.domain.registry.model.registrar.Registrar;
|
||||
import com.google.domain.registry.testing.AppEngineRule;
|
||||
|
||||
|
@ -98,16 +97,6 @@ public class RegistrarPaymentSetupActionTest {
|
|||
"results", asList());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSandboxEnvironment_returnsError() throws Exception {
|
||||
action.environment = RegistryEnvironment.SANDBOX;
|
||||
assertThat(action.handleJsonRequest(ImmutableMap.<String, Object>of()))
|
||||
.containsExactly(
|
||||
"status", "ERROR",
|
||||
"message", "sandbox",
|
||||
"results", asList());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNotOnCreditCardBillingTerms_showsErrorPage() throws Exception {
|
||||
action.registrar =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue