Skip to content

Commit bd0cba5

Browse files
fix: missing default mock parameter
1 parent 1c9b50d commit bd0cba5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fesod-sheet/src/test/java/org/apache/fesod/sheet/util/ClassUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ void test_declaredFields_WriteHolder_exclude_preservesUnrelatedExplicitIndex() {
230230
// which uses order=10) must not perturb indexFieldMap, which only holds fields
231231
// that DO carry an explicit index (ComplexEntity: id->0, name->2).
232232
Mockito.when(globalConfiguration.getFiledCacheLocation()).thenReturn(CacheLocationEnum.NONE);
233-
233+
Mockito.when(writeHolder.writeViewMatcher()).thenReturn(WriteViewMatcher.NOOP);
234+
234235
Mockito.when(writeHolder.excludeColumnFieldNames()).thenReturn(Collections.singleton("email"));
235236
Mockito.when(writeHolder.ignore(Mockito.anyString(), Mockito.anyInt())).thenReturn(false);
236237
Mockito.when(writeHolder.ignore(Mockito.eq("email"), Mockito.anyInt())).thenReturn(true);

0 commit comments

Comments
 (0)