Remove unused code

We're already in an else branch of if (daemonApp->testing())