Really enable payment page in sandbox

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120372049
This commit is contained in:
jart 2016-04-20 13:51:14 -07:00 committed by Justine Tunney
parent 4e6c8ec6fe
commit 9c8e23ea57
2 changed files with 2 additions and 19 deletions

View file

@ -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 =