(misc) Fix broken tests

This commit is contained in:
Viktor Lofgren 2024-02-28 12:12:43 +01:00
parent a8ec59eb75
commit d78e9e715f
2 changed files with 1 additions and 6 deletions

View File

@ -9,11 +9,6 @@ import static org.junit.jupiter.api.Assertions.*;
class IndexResultDomainDeduplicatorTest {
@AfterEach
public void clear() {
IndexResultDomainDeduplicator.clearCachedObjects();
}
@Test
public void testDeduplicator() {

View File

@ -15,7 +15,7 @@ class BangCommandTest {
try {
bangCommand.process(null,
new SearchParameters(" !g test",
null, null, null, null, null)
null, null, null, null, null, false)
);
Assertions.fail("Should have thrown RedirectException");
}