File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
similarity/src/test/java/org/neo4j/gds/similarity/knn Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ void minComponentSizeWithSparseProperties() {
167167 // we mimic the sparseness here through size > valueStored
168168 LongNodePropertyValues sparseProperties = new TestSparseNodePropertyValues (4 , input ::get );
169169
170- var config = ConfigWithComponentSize .of (CypherMapWrapper .empty ().withNumber ("minComponentSize " , 2L ));
170+ var config = CommunityProcCompanionConfig .of (CypherMapWrapper .empty ().withNumber ("minCommunitySize " , 2L ));
171171
172172 var filteredProperties = CommunityProcCompanion .nodeProperties (
173173 config ,
@@ -193,7 +193,7 @@ void consecutiveIdsWithSparseProperties() {
193193 // we mimic the sparseness here through size > valueStored
194194 LongNodePropertyValues sparseProperties = new TestSparseNodePropertyValues (4 , input ::get );
195195
196- var config = ConfigWithComponentSize .of (CypherMapWrapper .create (Map .of ("consecutiveIds" , true )));
196+ var config = CommunityProcCompanionConfig .of (CypherMapWrapper .create (Map .of ("consecutiveIds" , true )));
197197
198198 var filteredProperties = CommunityProcCompanion .nodeProperties (
199199 config ,
Original file line number Diff line number Diff line change 1919 */
2020package org .neo4j .gds .similarity .knn ;
2121
22- import org .assertj .core .api .Assertions ;
2322import org .junit .jupiter .api .Test ;
2423import org .neo4j .gds .AlgoBaseProc ;
2524import org .neo4j .gds .GdsCypher ;
3130import java .util .List ;
3231import java .util .Map ;
3332
34- import static org .assertj .core .api .Assertions .* ;
33+ import static org .assertj .core .api .Assertions .assertThat ;
3534
3635class KnnStreamProcTest extends KnnProcTest <KnnStreamConfig > {
3736
You can’t perform that action at this time.
0 commit comments