Do not consider query depth in initial namespace
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / rests / services / impl / JSONRestconfServiceRfc8040ImplTest.java
index 8460fef39a6a0f4dfa4ea8b3ef33f439edfdff76..e39c261bb99694494a43297487e8d53763582ba3 100644 (file)
@@ -566,7 +566,6 @@ public class JSONRestconfServiceRfc8040ImplTest {
         assertNotNull("Returned null response", jsonResp);
         assertThat("Top level module has incorrect format", jsonResp, containsString("\"ietf-interfaces:interface\""));
         assertThat("Missing \"name\"", jsonResp, containsString("\"name\":\"eth0\""));
-        assertThat("Missing \"name\"", jsonResp, containsString("\"name\":\"eth0\""));
         assertThat("Missing \"type\"", jsonResp, containsString("\"type\":\"ethernetCsmacd\""));
         assertThat("Missing \"enabled\"", jsonResp, containsString("\"enabled\":true"));
         assertThat("Missing \"description\"", jsonResp, containsString("\"description\":\"eth interface\""));