mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-06 23:52:29 +00:00
Fix feedResourceTest (#14904)
This commit is contained in:
parent
ab6c175711
commit
5bdd057440
@ -1638,7 +1638,7 @@ public class FeedResourceTest extends OpenMetadataApplicationTest {
|
||||
FeedResource.ThreadCountList threadCounts = listThreadsCount(entityLink, authHeaders);
|
||||
for (ThreadCount threadCount : threadCounts.getData()) {
|
||||
if (threadCount.getEntityLink().equalsIgnoreCase(entityLink)) {
|
||||
return threadCount.getConversationCount();
|
||||
return threadCount.getConversationCount() != null ? threadCount.getConversationCount() : 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user