aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 1a9944ca..f8d3bfdc 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -294,9 +294,10 @@ public class ServerTests {
freefd = userService.createUser(freefdName, freefdPassword).orElseThrow(IllegalStateException::new);
juick = userService.createUser(juickName, juickPassword).orElseThrow(IllegalStateException::new);
webClient.getOptions().setJavaScriptEnabled(false);
+ webClient.getOptions().setCssEnabled(false);
isSetUp = true;
}
- MockitoAnnotations.initMocks(this);
+ MockitoAnnotations.openMocks(this);
}
@AfterEach