mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Consolidate generic success response XMLs in unit tests
EPP reuses the same generic "Command completed successfully" response with result code 1000 for many different operations. There's no need to have separate XML files for all of these different operations given that the response is the same. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202010442
This commit is contained in:
parent
ed910455b0
commit
a4ebdc7622
25 changed files with 76 additions and 182 deletions
|
@ -59,7 +59,7 @@ public abstract class LoginFlowTestCase extends FlowTestCase<LoginFlow> {
|
|||
void doSuccessfulTest(String xmlFilename) throws Exception {
|
||||
setEppInput(xmlFilename);
|
||||
assertTransactionalFlow(false);
|
||||
runFlowAssertResponse(loadFile("login_response.xml"));
|
||||
runFlowAssertResponse(loadFile("generic_success_response.xml"));
|
||||
}
|
||||
|
||||
// Also called in subclasses.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue