HHH-13555 : FetchGraphTest, MergeProxyTest and ProxyDeletionTest fail due to ConstraintViolationException

This commit is contained in:
Gail Badner 2019-08-09 14:56:18 -07:00
parent 2a154cb583
commit dbb94d8066
3 changed files with 3 additions and 0 deletions

View File

@ -615,6 +615,7 @@ public class FetchGraphTest extends BaseNonConfigCoreFunctionalTestCase {
} }
else { else {
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" ); final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
webApplication.setName( "name #" + i );
activity.setWebApplication( webApplication ); activity.setWebApplication( webApplication );
webApplication.getActivities().add( activity ); webApplication.getActivities().add( activity );
session.save( webApplication ); session.save( webApplication );

View File

@ -206,6 +206,7 @@ public class MergeProxyTest extends BaseNonConfigCoreFunctionalTestCase {
} }
else { else {
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" ); final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
webApplication.setName( "name #" + i );
activity.setWebApplication( webApplication ); activity.setWebApplication( webApplication );
webApplication.getActivities().add( activity ); webApplication.getActivities().add( activity );
session.save( webApplication ); session.save( webApplication );

View File

@ -162,6 +162,7 @@ public class ProxyDeletionTest extends BaseNonConfigCoreFunctionalTestCase {
} }
else { else {
final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" ); final WebApplication webApplication = new WebApplication( i, "http://" + i + ".com" );
webApplication.setName( "name #" + i );
activity.setWebApplication( webApplication ); activity.setWebApplication( webApplication );
webApplication.getActivities().add( activity ); webApplication.getActivities().add( activity );
session.save( webApplication ); session.save( webApplication );