mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(misc) Fix broken tests
This commit is contained in:
parent
a8ec59eb75
commit
d78e9e715f
@ -9,11 +9,6 @@ import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class IndexResultDomainDeduplicatorTest {
|
||||
|
||||
@AfterEach
|
||||
public void clear() {
|
||||
IndexResultDomainDeduplicator.clearCachedObjects();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDeduplicator() {
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user