You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2021/08/16 10:47:52 UTC

[wicket] 05/05: WICKET-6914 Update test to JUnit 4.x

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit bb69ae455f5ab9e3213d1f31ef9267b18d97e675
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Aug 16 13:47:20 2021 +0300

    WICKET-6914 Update test to JUnit 4.x
---
 .../wicket/protocol/http/MultipartFormComponentListenerTest.java | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/wicket-core/src/test/java/org/apache/wicket/protocol/http/MultipartFormComponentListenerTest.java b/wicket-core/src/test/java/org/apache/wicket/protocol/http/MultipartFormComponentListenerTest.java
index b5cbf26..cb75df7 100644
--- a/wicket-core/src/test/java/org/apache/wicket/protocol/http/MultipartFormComponentListenerTest.java
+++ b/wicket-core/src/test/java/org/apache/wicket/protocol/http/MultipartFormComponentListenerTest.java
@@ -16,21 +16,18 @@
  */
 package org.apache.wicket.protocol.http;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.util.tester.TagTester;
 import org.apache.wicket.util.tester.WicketTestCase;
-import org.junit.jupiter.api.Test;
+import org.junit.Test;
 
 /**
  * https://issues.apache.org/jira/browse/WICKET-6914
  */
-class MultipartFormComponentListenerTest extends WicketTestCase
+public class MultipartFormComponentListenerTest extends WicketTestCase
 {
     @Test
-    void updateFormEnctype()
+    public void updateFormEnctype()
     {
         tester.startPage(MultipartFormComponentListenerPage.class);
         tester.assertRenderedPage(MultipartFormComponentListenerPage.class);