Various test fixes for postgres
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 17 May 2017 01:36:58 +0000 (18:36 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 18 May 2017 20:30:13 +0000 (20:30 +0000)
commitc1f348da1e6b1d60ef9d567af1cb52db2a10211f
tree10c72cf33d370327b5c1474264c253b4b383b2a2
parent124390e4c7dcfdab0df00ac5c4047a01298bfa25
Various test fixes for postgres

* Add another TS_MW timestamp coercion to WatchedItemStore.
* Do not expect timestamp conversion for pager mOffset.
  They have been used in Pager URLs for ages.
* Do not assume the user_id for UTSysop is 1; use the row value.

Bug: T75174
Change-Id: I590a4b7363ccff26d9ac9f51b95fc1aa072503b2
includes/WatchedItemStore.php
tests/phpunit/includes/logging/NewUsersLogFormatterTest.php
tests/phpunit/includes/pager/RangeChronologicalPagerTest.php