Index: trunk/phase3/tests/phpunit/includes/specials/SpecialRecentchangesTest.php |
— | — | @@ -85,7 +85,7 @@ |
86 | 86 | array( # expected |
87 | 87 | #0 => "rc_timestamp >= '20110223000000'", |
88 | 88 | 'rc_bot' => 0, |
89 | | - 1 => sprintf( "rc_namespace IN ('%s','%s')", $ns1, $ns2 ), |
| 89 | + 1 => sprintf( "(rc_namespace = '%s' OR rc_namespace = '%s')", $ns1, $ns2 ), |
90 | 90 | ), |
91 | 91 | array( |
92 | 92 | 'namespace' => $ns1, |
— | — | @@ -104,7 +104,7 @@ |
105 | 105 | array( # expected |
106 | 106 | #0 => "rc_timestamp >= '20110223000000'", |
107 | 107 | 'rc_bot' => 0, |
108 | | - 1 => sprintf( "rc_namespace NOT IN ('%s','%s')", $ns1, $ns2 ), |
| 108 | + 1 => sprintf( "(rc_namespace != '%s' AND rc_namespace != '%s')", $ns1, $ns2 ), |
109 | 109 | ), |
110 | 110 | array( |
111 | 111 | 'namespace' => $ns1, |