Support Fee-1.0 XML parser in all environments (#3007)

Add the Fee-1.0 schema in production, allowing the requests with this
extension to be parsed. This allows us to test this extension before hand.

The announcement of this extension in greeting is controlled by a
feature flag in ProtocolDefinition.java. As long as it is not announced,
we do not expect real customers to use this extension.
This commit is contained in:
Weimin Yu
2026-04-09 20:45:36 +00:00
committed by GitHub
parent 61b121f464
commit 4a1d0609f3
2 changed files with 3 additions and 9 deletions
@@ -82,11 +82,11 @@ class EppXmlTransformerTest {
}
@Test
void testSchemas_inProduction_skipsFee1Point0() {
void testSchemas_inProduction_includesFee1Point0() {
var currentEnv = RegistryEnvironment.get();
try {
RegistryEnvironment.PRODUCTION.setup();
assertThat(EppXmlTransformer.getSchemas()).doesNotContain("fee-std-v1.xsd");
assertThat(EppXmlTransformer.getSchemas()).contains("fee-std-v1.xsd");
} finally {
currentEnv.setup();
}