X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-rfc8040%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Fnb%2Frfc8040%2Fjersey%2Fproviders%2Ftest%2FXmlBodyReaderTest.java;h=abc193ba79238f497c1363d354bec05bccc6aff0;hb=0cc245d37ebbe6d9d5933bcb0034a1ed9c5b093a;hp=ecc7d860a573daf20ea947f447126dbb42fd3ce5;hpb=276fb1df2ffee67a9ee7fb5e7c9a78d1cb62bdc8;p=netconf.git diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java index ecc7d860a5..abc193ba79 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/test/XmlBodyReaderTest.java @@ -28,6 +28,7 @@ import org.opendaylight.restconf.common.errors.RestconfDocumentedException; import org.opendaylight.restconf.common.errors.RestconfError; import org.opendaylight.restconf.nb.rfc8040.TestRestconfUtils; import org.opendaylight.restconf.nb.rfc8040.jersey.providers.XmlNormalizedNodeBodyReader; +import org.opendaylight.yangtools.yang.common.ErrorType; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.common.QNameModule; import org.opendaylight.yangtools.yang.common.Revision; @@ -280,7 +281,7 @@ public class XmlBodyReaderTest extends AbstractBodyReaderTest { Assert.fail("Test should fail due to malformed PUT operation message"); } catch (final RestconfDocumentedException exception) { final RestconfError restconfError = exception.getErrors().get(0); - Assert.assertEquals(RestconfError.ErrorType.PROTOCOL, restconfError.getErrorType()); + Assert.assertEquals(ErrorType.PROTOCOL, restconfError.getErrorType()); Assert.assertEquals(RestconfError.ErrorTag.MALFORMED_MESSAGE, restconfError.getErrorTag()); } }