Skip to content

Commit f4ed9c2

Browse files
committed
test fixes
1 parent 3f99781 commit f4ed9c2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

logicaldoc-i18n/src/main/resources/i18n/messages.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,12 +2648,15 @@ notindexabledocs = Not indexable
26482648
pagestrash = Trash
26492649
artificialintelligence = Artificial Intelligence
26502650
models = Models
2651-
selecttasampler = Select a sampler
2651+
selectasampler = Select a sampler
26522652
samplers = Samplers
26532653
addsampler = Add sampler
26542654
chain = Chain
26552655
sampler = Sampler
26562656
quote = Quote
26572657
delimiter = Delimiter
26582658
categoryattribute = Category attribute
2659-
addmodel = Add model
2659+
addmodel = Add model
2660+
showsamplers = Shown <b>{0}</b> samplers
2661+
showmodels = Shown <b>{0}</b> models
2662+
selectamodel = Select a model

logicaldoc-webapp/src/test/java/com/logicaldoc/web/service/DocumentServiceImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ public void testIndex() throws ServerException, IOException {
724724

725725
testSubject.indexDocuments(List.of(doc.getId()));
726726
doc = testSubject.getById(doc.getId());
727-
assertEquals(0, doc.getIndexed());
727+
assertEquals(1, doc.getIndexed());
728728

729729
testSubject.indexDocuments(new ArrayList<>());
730730
}

0 commit comments

Comments
 (0)