Skip to content

Commit fac0211

Browse files
committed
fix: wrong type
1 parent a459df3 commit fac0211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/dependent/workflow/ManagedWorkflowTestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class ManagedWorkflowTestUtils {
2020

2121
@SuppressWarnings("unchecked")
2222
public static DependentResourceSpec createDRS(String name, String... dependOns) {
23-
return new DependentResourceSpec(EmptyTestDependentResource.class, name, Set.of(dependOns),
23+
return new DependentResourceSpec(new EmptyTestDependentResource(), name, Set.of(dependOns),
2424
null, null, null, null);
2525
}
2626

0 commit comments

Comments
 (0)