mirror of https://github.com/apache/nifi.git
NIFI-8460 Remove unused BouncyCastle reference in test class
This closes #5022 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
17fa0cf3c1
commit
a1597ced89
|
@ -17,7 +17,6 @@
|
|||
package org.apache.nifi.web.filter
|
||||
|
||||
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider
|
||||
import org.junit.After
|
||||
import org.junit.Before
|
||||
import org.junit.BeforeClass
|
||||
|
@ -35,7 +34,6 @@ import javax.servlet.ServletRequest
|
|||
import javax.servlet.ServletResponse
|
||||
import javax.servlet.http.HttpServletRequest
|
||||
import javax.servlet.http.HttpServletResponse
|
||||
import java.security.Security
|
||||
|
||||
@RunWith(JUnit4.class)
|
||||
class CatchAllFilterTest extends GroovyTestCase {
|
||||
|
@ -43,8 +41,6 @@ class CatchAllFilterTest extends GroovyTestCase {
|
|||
|
||||
@BeforeClass
|
||||
static void setUpOnce() throws Exception {
|
||||
Security.addProvider(new BouncyCastleProvider())
|
||||
|
||||
logger.metaClass.methodMissing = { String name, args ->
|
||||
logger.info("[${name?.toUpperCase()}] ${(args as List).join(" ")}")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue