Use assertSame in LogFormatterTestCase
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 6 Jun 2015 18:55:03 +0000 (20:55 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 6 Jun 2015 18:55:03 +0000 (20:55 +0200)
commitf087bcb620b0a5674822a2320bdc443b5dce3b13
treef46052755af5054c73a27d8cf0856e63d7344eda
parent1dc97335ae258ab7a7b29e9181d652f17c13e250
Use assertSame in LogFormatterTestCase

Using assertSame also checks for internal types to be correct.

Needs the following fixes:
- MergeLogFormatterTest: Use correct array key order
- NewUsersLogFormatterTest: Input user id as integer
- PatrolLogFormatter: Ensure in LogFormatter that
  integer is not casted to float

Change-Id: I2cab5335d6654f6cda15fc4e9fbae2c1ca1b27ff
includes/logging/LogFormatter.php
tests/phpunit/includes/logging/LogFormatterTestCase.php
tests/phpunit/includes/logging/MergeLogFormatterTest.php
tests/phpunit/includes/logging/NewUsersLogFormatterTest.php