NIFI-5208:

- Removing test for unsupported functionality.

This closes #2740

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
Matt Gilman 2018-05-29 09:38:11 -04:00 committed by Scott Aslan
parent 05a1d63090
commit 9093d280f2
1 changed files with 0 additions and 13 deletions

View File

@ -77,17 +77,4 @@ public class TestProcessorWebUtils {
}
@Test
@SuppressWarnings("unchecked")
public void testGetRequestContextForProcessorWithSpecificClientRevision() throws NoSuchMethodException, IOException,InvocationTargetException, IllegalAccessException{
Method method = ProcessorWebUtils.class.getDeclaredMethod("getRequestContext", String.class, Long.class, String.class, HttpServletRequest.class);
method.setAccessible(true);
NiFiWebRequestContext requestContext = (NiFiWebRequestContext) method.invoke(null,"1",1L, "client1",mock(HttpServletRequest.class));
assertTrue(requestContext instanceof HttpServletConfigurationRequestContext);
assertTrue(requestContext.getId().equals("1"));
assertTrue(((HttpServletConfigurationRequestContext)requestContext).getRevision().getClientId().equals("client1"));
assertTrue(((HttpServletConfigurationRequestContext)requestContext).getRevision().getVersion().equals(1L));
}
}