mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05: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 {
|
class IndexResultDomainDeduplicatorTest {
|
||||||
|
|
||||||
@AfterEach
|
|
||||||
public void clear() {
|
|
||||||
IndexResultDomainDeduplicator.clearCachedObjects();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testDeduplicator() {
|
public void testDeduplicator() {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class BangCommandTest {
|
|||||||
try {
|
try {
|
||||||
bangCommand.process(null,
|
bangCommand.process(null,
|
||||||
new SearchParameters(" !g test",
|
new SearchParameters(" !g test",
|
||||||
null, null, null, null, null)
|
null, null, null, null, null, false)
|
||||||
);
|
);
|
||||||
Assertions.fail("Should have thrown RedirectException");
|
Assertions.fail("Should have thrown RedirectException");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user