diff --git a/java/code/src/com/redhat/rhn/domain/action/rhnpackage/test/PackageActionDetailsTest.java b/java/code/src/com/redhat/rhn/domain/action/rhnpackage/test/PackageActionDetailsTest.java index a2e26dc4eba..b8edd34f26c 100644 --- a/java/code/src/com/redhat/rhn/domain/action/rhnpackage/test/PackageActionDetailsTest.java +++ b/java/code/src/com/redhat/rhn/domain/action/rhnpackage/test/PackageActionDetailsTest.java @@ -195,6 +195,7 @@ public static PackageActionDetails createTestDetailsWithNvre(User user, Action p pad.setArch(HibernateFactory.getSession().createNativeQuery(""" SELECT p.* from rhnPackageArch as p WHERE p.id = :id """, PackageArch.class).setParameter("id", testid).getSingleResult()); + pad.setPackageName(PackageNameTest.createTestPackageName()); pad.setEvr(PackageEvrFactoryTest.createTestPackageEvr()); ((PackageAction) parent).addDetail(pad);