RED-7049 - Wrong error code when adding entity with already existing rank

- update junit so the rank of the types differs

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
This commit is contained in:
Corina Olariu 2024-03-04 11:00:51 +02:00
parent 4d107b2475
commit 98f743052d

View File

@ -108,7 +108,7 @@ public class EntityPerformanceTest extends AbstractPersistenceServerServiceTest
var template = dossierTemplateTesterAndProvider.provideTestTemplate("test");
var type1 = typeProvider.testAndProvideType(template, null, "t1");
var type2 = typeProvider.testAndProvideType(template, null, "t2");
var type2 = typeProvider.testAndProvideType(template, null, "t2", false,50);
List<DictionaryEntryEntity> type1Entries = entries.stream()
.map(s -> new DictionaryEntryEntity(0, s, 1, false, type1.getTypeId()))