Skip to content

Commit 50b9de3

Browse files
author
Thierry Boileau
committed
Fix TUs
1 parent 35f9818 commit 50b9de3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

org.restlet/src/test/java/org/restlet/Bug1145TestCase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.restlet.data.Method;
2222
import org.restlet.data.Protocol;
2323
import org.restlet.data.Status;
24+
import org.restlet.engine.Engine;
2425
import org.restlet.representation.StringRepresentation;
2526

2627
public class Bug1145TestCase {
@@ -43,6 +44,7 @@ public void handle(Request request, Response response) {
4344

4445
@BeforeEach
4546
public void setUpEach() throws Exception {
47+
Engine.register(true);
4648
this.client = new Client(Protocol.HTTP);
4749

4850
this.component = new Component();

org.restlet/src/test/java/org/restlet/engine/connector/ShutdownHookTestCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public class ShutdownHookTestCase {
5353
@BeforeAll
5454
public static void setUp() {
5555
LOGGER.setLevel(Level.INFO);
56+
Engine.register(true);
5657
}
5758

5859
/**

0 commit comments

Comments
 (0)