dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Check validity and availability of usernames during signup via AJAX"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
XmlTest.php
diff --git
a/tests/phpunit/includes/XmlTest.php
b/tests/phpunit/includes/XmlTest.php
index
8205029
..
86b4c35
100644
(file)
--- a/
tests/phpunit/includes/XmlTest.php
+++ b/
tests/phpunit/includes/XmlTest.php
@@
-144,10
+144,7
@@
class XmlTest extends MediaWikiTestCase {
$prevYear = $curYear - 1;
$curMonth = intval( gmdate( 'n' ) );
- $prevMonth = $curMonth - 1;
- if ( $prevMonth == 0 ) {
- $prevMonth = 12;
- }
+
$nextMonth = $curMonth + 1;
if ( $nextMonth == 13 ) {
$nextMonth = 1;