fix #20763: entityLink null issue in TestCaseResourceContext

This commit is contained in:
sonikashah 2025-04-28 12:27:53 +05:30
parent f7314c7da1
commit 3bec47ef8a

View File

@ -43,7 +43,7 @@ public class TestCaseResourceContext implements ResourceContextInterface {
@Override
public String getResource() {
return entityLink.getEntityType();
return entity != null ? entity.getEntityReference().getType() : Entity.TEST_CASE;
}
@Override