unitTest: fix incorrect check in ut_conference

This patch fixes a logic error in testCreateParticipantsSinks which was
introduced in commit 0757c2cf.

GitLab: #1132
Change-Id: I1c34857f5a309ee34dd976a9d91c3ef1ba938408
This commit is contained in:
François-Simon Fauteux-Chapleau
2025-06-16 10:22:45 -04:00
parent 38ac794295
commit eb9bec5d23

View File

@ -539,7 +539,7 @@ ConferenceTest::testCreateParticipantsSinks()
cv.wait_for(lk, 30s, [&] { return pInfos_.size() == expectedNumberOfParticipants; }));
auto dm = jami::getVideoDeviceMonitor();
if (dm && dm->getDeviceList().empty()) {
if (dm && !dm->getDeviceList().empty()) {
JAMI_INFO() << "Check sinks if video device available.";
std::lock_guard lock(pInfosMtx_);
for (auto& info : pInfos_) {