Fix for weird failing unit test

Don't ask me why, but it seems to work.... (well, ok, with error_reporting on you can see it complaining about a missing `$post` object which it wouldn't/shouldn't miss on a frontend load)