Add tests for Revision::getParentLengths
authoraddshore <addshorewiki@gmail.com>
Thu, 9 Nov 2017 10:20:49 +0000 (10:20 +0000)
committeraddshore <addshorewiki@gmail.com>
Thu, 9 Nov 2017 10:43:37 +0000 (10:43 +0000)
commit763546fea509a5272d4cc33e5367ec3e2c1faaa7
tree4d818818fe45a1d50f49cdfd4902e66ad583cb3a
parentfdd862b6f04b1847379261fe448db662a91a00a0
Add tests for Revision::getParentLengths

This method name is quite missleading as it doesnt
get the parent lengths at all, it gets the lengths of
the rev ids that you ask for......

This method is touched in I4f24e7fbb683cb51f3fd8b250732bae9c7541ba2
hence adding some test coverage now.

Change-Id: Ic837bd60a34341860c4d2287a1b999f40d4f95f1
tests/phpunit/includes/RevisionIntegrationTest.php