HHH-13555 : FetchGraphTest, MergeProxyTest and ProxyDeletionTest fail due to ConstraintViolationException
This commit is contained in:
parent
2a154cb583
commit
dbb94d8066
|
@ -615,6 +615,7 @@ public class FetchGraphTest extends BaseNonConfigCoreFunctionalTestCase {
|
|||
}
|
||||
else {
|
||||
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
|
||||
webApplication.setName( "name #" + i );
|
||||
activity.setWebApplication( webApplication );
|
||||
webApplication.getActivities().add( activity );
|
||||
session.save( webApplication );
|
||||
|
|
|
@ -206,6 +206,7 @@ public class MergeProxyTest extends BaseNonConfigCoreFunctionalTestCase {
|
|||
}
|
||||
else {
|
||||
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
|
||||
webApplication.setName( "name #" + i );
|
||||
activity.setWebApplication( webApplication );
|
||||
webApplication.getActivities().add( activity );
|
||||
session.save( webApplication );
|
||||
|
|
|
@ -162,6 +162,7 @@ public class ProxyDeletionTest extends BaseNonConfigCoreFunctionalTestCase {
|
|||
}
|
||||
else {
|
||||
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
|
||||
webApplication.setName( "name #" + i );
|
||||
activity.setWebApplication( webApplication );
|
||||
webApplication.getActivities().add( activity );
|
||||
session.save( webApplication );
|
||||
|
|
Loading…
Reference in New Issue