Revision 1edfe89d
Added by Katja Luther almost 4 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/TermNodeServiceImplTest.java | ||
---|---|---|
80 | 80 |
List<CharacterNodeDto> dtos = new ArrayList<>(); |
81 | 81 |
dtos.add(nodeDto); |
82 | 82 |
termNodeService.saveCharacterNodeDtoList(dtos); |
83 |
termNodeService.getSession().flush(); |
|
84 | 83 |
commitAndStartNewTransaction(); |
85 | 84 |
characterTree = termTreeService.load(characterTreeUuid); |
86 | 85 |
List<TermNode<Feature>> childNodes = characterTree.getRoot().getChildNodes(); |
87 | 86 |
TermNode<Feature> child = childNodes.get(0); |
88 |
// Assert.assertTrue(child.getTerm().isSupportsCategoricalData());
|
|
87 |
Assert.assertTrue(child.getTerm().isSupportsCategoricalData()); |
|
89 | 88 |
|
90 | 89 |
}else{ |
91 | 90 |
Assert.fail(); |
Also available in: Unified diff
ref #8774: implement tests for dto handling - continue