mirror of
https://github.com/google/nomulus.git
synced 2025-08-02 16:02:10 +02:00
Remove backported MockitoJUnitRule
Mockito in third_party is updated to 1.10. We do not need to backport this rule anymore. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237496086
This commit is contained in:
parent
5056e48363
commit
b573b10ae1
38 changed files with 85 additions and 107 deletions
|
@ -39,7 +39,6 @@ import google.registry.testing.AppEngineRule;
|
|||
import google.registry.testing.DeterministicStringGenerator;
|
||||
import google.registry.testing.FakeClock;
|
||||
import google.registry.testing.FakeResponse;
|
||||
import google.registry.testing.MockitoJUnitRule;
|
||||
import google.registry.ui.server.SendEmailUtils;
|
||||
import google.registry.util.SendEmailService;
|
||||
import java.util.Optional;
|
||||
|
@ -54,6 +53,8 @@ import org.junit.Test;
|
|||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.JUnit4;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.MockitoJUnit;
|
||||
import org.mockito.junit.MockitoRule;
|
||||
|
||||
@RunWith(JUnit4.class)
|
||||
public final class ConsoleOteSetupActionTest {
|
||||
|
@ -63,7 +64,7 @@ public final class ConsoleOteSetupActionTest {
|
|||
.withDatastore()
|
||||
.build();
|
||||
|
||||
@Rule public final MockitoJUnitRule mocks = MockitoJUnitRule.create();
|
||||
@Rule public final MockitoRule mocks = MockitoJUnit.rule();
|
||||
|
||||
private final FakeResponse response = new FakeResponse();
|
||||
private final ConsoleOteSetupAction action = new ConsoleOteSetupAction();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue