@@ -424,7 +424,7 @@ public void testUniquenessConstraintOnNode() {
424
424
assertEquals ("RANGE" , r .get ("type" ));
425
425
assertEquals ("ONLINE" , r .get ("status" ));
426
426
final String expectedUserDescBarIdx =
427
- "name='constraint_4791de3e ', type='RANGE', schema=(:Bar {foo}), indexProvider='range-1.0', owningConstraint" ;
427
+ "name='constraint_e4055330 ', type='RANGE', schema=(:Bar {foo}), indexProvider='range-1.0', owningConstraint" ;
428
428
assertThat (r .get ("userDescription" )).asString ().contains (expectedUserDescBarIdx );
429
429
430
430
if (cypherVersion .equals ("5" )) {
@@ -442,13 +442,13 @@ public void testUniquenessConstraintOnNode() {
442
442
if (cypherVersion .equals ("5" )) {
443
443
assertEquals (":Bar(foo)" , r .get ("name" ));
444
444
final String expectedUserDescBarCons =
445
- "name='constraint_4791de3e ', type='UNIQUENESS', schema=(:Bar {foo}), ownedIndex=2" ;
445
+ "name='constraint_e4055330 ', type='UNIQUENESS', schema=(:Bar {foo}), ownedIndex=2" ;
446
446
assertThat (r .get ("userDescription" ).toString ()).contains (expectedUserDescBarCons );
447
447
448
448
} else {
449
449
assertTrue (r .get ("name" ).toString ().startsWith ("constraint_" ));
450
450
final String expectedUserDescBarCons =
451
- "name='constraint_4791de3e ', type='NODE PROPERTY UNIQUENESS', schema=(:Bar {foo}), ownedIndex=2" ;
451
+ "name='constraint_e4055330 ', type='NODE PROPERTY UNIQUENESS', schema=(:Bar {foo}), ownedIndex=2" ;
452
452
assertThat (r .get ("userDescription" ).toString ()).contains (expectedUserDescBarCons );
453
453
}
454
454
0 commit comments