Fixed total breakage of HashRing in 9d1cd9a.
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 15 May 2013 18:16:16 +0000 (11:16 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 15 May 2013 20:17:24 +0000 (20:17 +0000)
commit4136f8269b52de0c9274575b118604f7ebbda5e4
tree85fb212f381e31a43dce4d8e7b20f55725e03bce
parent266e46a5cace071d065e2a3243e489a000d5b370
Fixed total breakage of HashRing in 9d1cd9a.

* This had PHP warnings but no errors, but was broken.
* Added some unit tests for this class.

Change-Id: I7c7ea2c30ca747aae7a3c3951fc33c69052de085
includes/HashRing.php
tests/phpunit/includes/HashRingTest.php [new file with mode: 0644]