Skip to content

Commit 8b6fb9f

Browse files
committed
TIKA-4471: fix beforeall
1 parent 71f800f commit 8b6fb9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tika-core/src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import javax.xml.stream.XMLStreamException;
2929

3030
import org.junit.jupiter.api.AfterAll;
31-
import org.junit.jupiter.api.BeforeEach;
31+
import org.junit.jupiter.api.BeforeAll;
3232
import org.junit.jupiter.api.Test;
3333
import org.w3c.dom.Document;
3434
import org.w3c.dom.Node;
@@ -91,8 +91,8 @@ public class XMLReaderUtilsTest {
9191

9292
private static Locale defaultLocale;
9393

94-
@BeforeEach
95-
public void beforeEach() {
94+
@BeforeAll
95+
public static void startUp() {
9696
defaultLocale = Locale.getDefault();
9797
Locale.setDefault(Locale.US);
9898
}

0 commit comments

Comments
 (0)