Posts: Add test coverage for get_preview_post_link().
get_preview_post_link()
Props swissspidy. Fixes #35915.