Comments

dave reid’s picture

Assigned: Unassigned » dave reid

Assigning myself since I had fun working on the patch for that issue. Should have a test done with a day.

webchick’s picture

Subscribe! :)

dave reid’s picture

Would calling user_block() and testing it's output be the best way to test this?

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new2.88 KB

Initial test for review. It's testing the who's online block with no user sessions, a duplicated user session, anonymous user count.

dave reid’s picture

StatusFileSize
new3.38 KB

Revised patch that tests to make sure the users are ordered correctly.

dave reid’s picture

StatusFileSize
new3.3 KB

Small revisions in docs and strings.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me and ran the tests locally, nice touch checking for ordering too.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Excellent! :)

Committed to HEAD, thanks for the follow-through!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.