autotests: Remove interface version assert

It makes the test fail and there's little point for having it.
This commit is contained in:
Vlad Zahorodnii 2021-10-25 21:56:35 +03:00
parent 731ae21cb2
commit c45b69595f

View file

@ -136,7 +136,6 @@ void TestScreencastV1Interface::initTestCase()
[this, &registry](const QByteArray &interfaceName, quint32 name, quint32 version) { [this, &registry](const QByteArray &interfaceName, quint32 name, quint32 version) {
if (interfaceName != "zkde_screencast_unstable_v1") if (interfaceName != "zkde_screencast_unstable_v1")
return; return;
Q_ASSERT(version == 1);
m_screencast = new ScreencastV1(this); m_screencast = new ScreencastV1(this);
m_screencast->init(&*registry, name, version); m_screencast->init(&*registry, name, version);
}); });