Skip to content

Commit

Permalink
trying fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbussolotto committed Feb 18, 2025
1 parent 8a10de0 commit 701ddb6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import com.redhat.rhn.domain.recurringactions.type.RecurringActionType;
import com.redhat.rhn.domain.server.MinionServer;
import com.redhat.rhn.domain.server.Server;
import com.redhat.rhn.domain.user.User;
import com.redhat.rhn.manager.system.SystemManager;

Expand All @@ -39,7 +40,7 @@
@DiscriminatorValue("minion")
public class MinionRecurringAction extends RecurringAction {

private MinionServer minion;
private Server minion;

/**
* Standard constructor
Expand Down Expand Up @@ -70,7 +71,7 @@ public MinionRecurringAction(RecurringActionType actionType,
*/
@Override
public List<MinionServer> computeMinions() {
return List.of(minion);
return List.of((MinionServer) minion);
}

/**
Expand Down Expand Up @@ -100,7 +101,7 @@ public TargetType getTargetType() {
*/
@ManyToOne
@JoinColumn(name = "minion_id")
public MinionServer getMinion() {
public Server getMinion() {
return minion;
}

Expand Down

0 comments on commit 701ddb6

Please sign in to comment.