[buddypress-trac] [BuddyPress Trac] #5958: Add object parameter to bp_core_fetch_avatar_no_grav

buddypress-trac noreply at wordpress.org
Tue Nov 4 17:12:51 UTC 2014


#5958: Add object parameter to bp_core_fetch_avatar_no_grav
----------------------------------------+------------------
 Reporter:  dcavins                     |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  low                         |   Milestone:  2.2
Component:  Avatars                     |     Version:  2.1
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by dcavins):

 I'm adding a new patch that adds tests. The tests check the `$params` as
 passed out of the main filter as well as the html output for both gravatar
 and no-gravatar requests. I'm a little skeptical of the maintainability of
 the gravatar portion of the test, since it was necessary to recreate quite
 a bit of code from the original function. Please let me know if there are
 other test cases that you'd like me to cover; I'm happy to write more
 tests.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5958#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list