Fix RepoGroup::hasForeignRepos() and RepoGroup::forEachForeignRepo()
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 3 Jul 2014 06:12:27 +0000 (03:12 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Thu, 3 Jul 2014 06:12:27 +0000 (03:12 -0300)
commit2897061d1ebc8f1bf99ac99d871554f32bf1ddb3
tree795e7c1b1465e577514492e89ffadbf8211a2050
parentb4ed05d6a28a77c87b8a9f942248621de66597fb
Fix RepoGroup::hasForeignRepos() and RepoGroup::forEachForeignRepo()

Also add unit tests for those methods.

Change-Id: Ic72be60d13820492efc90b5925bb5cfc1813d28a
includes/filerepo/RepoGroup.php
tests/phpunit/includes/filerepo/RepoGroupTest.php [new file with mode: 0644]