Skip to content

Commit

Permalink
Arreglados todos los tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Apr 7, 2024
1 parent a11ff63 commit fbdd71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/uniovi/entities/Category.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Category implements JsonEntity {
private String name;
private String description;

@OneToMany(mappedBy = "category")
@OneToMany(mappedBy = "category", fetch = FetchType.EAGER)
private Set<Question> questions = new HashSet<>();

public Category(String name, String description) {
Expand Down

0 comments on commit fbdd71d

Please sign in to comment.