Phaneendra Manda
Committed by Gerrit Code Review

Class name corrected while retriving stream from json

Change-Id: I325bf61d001194953db137131c414bb877d8613b
......@@ -217,7 +217,7 @@ public class IntentCodecTest extends AbstractIntentTest {
* @throws IOException if processing the resource fails
*/
private Intent getIntent(String resourceName, JsonCodec intentCodec) throws IOException {
InputStream jsonStream = FlowRuleCodecTest.class
InputStream jsonStream = IntentCodecTest.class
.getResourceAsStream(resourceName);
JsonNode json = context.mapper().readTree(jsonStream);
assertThat(json, notNullValue());
......
......@@ -585,7 +585,7 @@ public class FlowsResourceTest extends ResourceTest {
replay(mockFlowService);
WebResource rs = resource();
InputStream jsonStream = IntentsResourceTest.class
InputStream jsonStream = FlowsResourceTest.class
.getResourceAsStream("post-flow.json");
ClientResponse response = rs.path("flows/of:0000000000000001")
......
......@@ -375,7 +375,7 @@ public class HostResourceTest extends ResourceTest {
replay(mockHostService);
InputStream jsonStream = IntentsResourceTest.class
InputStream jsonStream = HostResourceTest.class
.getResourceAsStream("post-host.json");
WebResource rs = resource();
......