Currently we just test that we can push a message from the server, but we are not making sure that the client connected to node.js server is receiving the message.
There are two ways to do this.
Find a PHP library that can connect to the node.js a read message from it.
Use JavaScript unittests to make sure that the client is receive the message.
Currently we just test that we can push a message from the server, but we are not making sure that the client connected to node.js server is receiving the message.
There are two ways to do this.