Tweak adaper so it actually works when run in integration