Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbussolotto committed Dec 20, 2024
1 parent 47c1cb3 commit 151fa09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public static PackageActionDetails createTestDetailsWithName(User user, Action p
Long testid = 100L;

pad.setArch((HibernateFactory.getSession().createNativeQuery("""
SELECT p.* from rhnPackageArch as p WHERE p.label = :label
""", PackageArch.class).setParameter("label", testid).getSingleResult()));
SELECT p.* from rhnPackageArch as p WHERE p.id = :id
""", PackageArch.class).setParameter("id", testid).getSingleResult()));
pad.setPackageName(PackageNameTest.createTestPackageName());

((PackageAction) parent).addDetail(pad);
Expand Down

0 comments on commit 151fa09

Please sign in to comment.