mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(search) Fix broken tests
This commit is contained in:
parent
a9e312b8b1
commit
3009713db4
@ -280,6 +280,7 @@ public class SearchServicePaperDoll extends AbstractModule {
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
SimilarDomain.LinkType.FOWARD
|
||||
));
|
||||
dummyLinks.add(new SimilarDomain(
|
||||
@ -290,6 +291,7 @@ public class SearchServicePaperDoll extends AbstractModule {
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
SimilarDomain.LinkType.BACKWARD
|
||||
));
|
||||
dummyLinks.add(new SimilarDomain(
|
||||
@ -300,6 +302,7 @@ public class SearchServicePaperDoll extends AbstractModule {
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
SimilarDomain.LinkType.BIDIRECTIONAL
|
||||
));
|
||||
|
||||
|
@ -158,13 +158,13 @@ public class MockedSearchResults {
|
||||
"INDEXED"
|
||||
),
|
||||
List.of(
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,65, 20, true, true, true, SimilarDomain.LinkType.BIDIRECTIONAL)
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,65, 20, true, true, true, true, SimilarDomain.LinkType.BIDIRECTIONAL)
|
||||
),
|
||||
List.of(
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,65, 80, true, true, true, SimilarDomain.LinkType.BIDIRECTIONAL),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,35, 40, true, true, false, SimilarDomain.LinkType.BACKWARD),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,25, 20, true, true, false, SimilarDomain.LinkType.FOWARD),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,25, 20, true, true, false, SimilarDomain.LinkType.FOWARD)
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,65, 80, true, true, true, false, SimilarDomain.LinkType.BIDIRECTIONAL),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,35, 40, true, true, false, false, SimilarDomain.LinkType.BACKWARD),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,25, 20, true, true, false, false, SimilarDomain.LinkType.FOWARD),
|
||||
new SimilarDomain(new EdgeUrl("https://www.other.com"), 4,25, 20, true, true, false, false, SimilarDomain.LinkType.FOWARD)
|
||||
),
|
||||
new SearchSiteInfoService.FeedItems("www.example.com",
|
||||
"https://www.example.com/rss.xml",
|
||||
|
Loading…
Reference in New Issue
Block a user