tests: Check that sourcePeer() is set in SignalProxyTest
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 17 Oct 2018 20:09:53 +0000 (22:09 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commit96e623bcd9a56fdf153a6c82376a9ab0c45aa102
treeed1b44b6d56cbd91c0a101d4b01aeb39bd2737dd
parent0859ff9b7f8633925dde6482d57774f229a937a6
tests: Check that sourcePeer() is set in SignalProxyTest

We expect SignalProxy::current()->sourcePeer() to be set to the
currently sending peer when handling a signal, so add a check
for this to SignalProxyTest.
tests/common/signalproxytest.cpp