Tests: update activity tests to use `bp_activity_get_permalink` to get a link to an activity item rather than manually constructing a link from an activity ID.

See #5926

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9061 cdf35c40-ae34-48e0-9cc9-0c9da1808c22