mirror of
https://github.com/google/nomulus
synced 2026-09-06 16:17:13 +00:00
Break SessionSource out of SessionMetadata and rename it EppRequestSource.
The "SessionSource" has nothing to do with sessions (and it's often used in sessionless contexts). What it does indicate is the endpoint used to make the request. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125295224
This commit is contained in:
@@ -44,7 +44,7 @@ public class EppConsoleActionTest extends ShardableTestCase {
|
||||
.build();
|
||||
|
||||
@Test
|
||||
public void testPassesArgumentsThrough() {
|
||||
public void doTest() {
|
||||
EppConsoleAction action = new EppConsoleAction();
|
||||
action.inputXmlBytes = INPUT_XML_BYTES;
|
||||
action.session = new BasicHttpSession();
|
||||
@@ -57,6 +57,7 @@ public class EppConsoleActionTest extends ShardableTestCase {
|
||||
verify(action.eppRequestHandler).executeEpp(
|
||||
metadataCaptor.capture(),
|
||||
credentialsCaptor.capture(),
|
||||
eq(EppRequestSource.CONSOLE),
|
||||
eq(false),
|
||||
eq(false),
|
||||
eq(INPUT_XML_BYTES));
|
||||
|
||||
Reference in New Issue
Block a user