Author: thomas.heute(a)jboss.com
Date: 2010-10-18 07:59:22 -0400 (Mon, 18 Oct 2010)
New Revision: 4708
Modified:
components/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/render/DefaultServiceFetcherTest.java
Log:
GTNPORTAL-1539: Remove gadget Error 404 in logs
Modified:
components/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/render/DefaultServiceFetcherTest.java
===================================================================
---
components/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/render/DefaultServiceFetcherTest.java 2010-10-18
11:52:05 UTC (rev 4707)
+++
components/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/render/DefaultServiceFetcherTest.java 2010-10-18
11:59:22 UTC (rev 4708)
@@ -113,11 +113,11 @@
public void testReadConfigWithValidEndpoints() throws Exception {
List<String> endPoint1Services = ImmutableList.of("do.something",
"delete.someting");
JSONObject service1 = new JSONObject();
- service1.put("data", endPoint1Services);
+ service1.put("result", endPoint1Services);
List<String> endPoint2Services = ImmutableList.of("weather.get");
JSONObject service2 = new JSONObject();
- service2.put("data", endPoint2Services);
+ service2.put("result", endPoint2Services);
EasyMock.expect(mockFetcher.fetch(EasyMock.isA(HttpRequest.class))).andReturn(
new HttpResponse(service1.toString()));
Show replies by date