HHH-13555 : FetchGraphTest, MergeProxyTest and ProxyDeletionTest fail due to ConstraintViolationException
(cherry picked from commit dbb94d8066
)
This commit is contained in:
parent
19fdd0665a
commit
f17ea81cff
|
@ -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