aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php
diff options
context:
space:
mode:
authorSubramanya Sastry <ssastry@wikimedia.org>2022-03-08 19:49:21 -0600
committerSubramanya Sastry <ssastry@wikimedia.org>2022-03-09 16:29:25 -0600
commit8aae1a0b2118ae316fc68b28d724f34b76f27a0e (patch)
treed22bc3efc04ca2ed875c4d10255772e6123486cd /tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php
parente31b1fbe20c8188c3f4d3b04813f1c6b53e9f3d1 (diff)
downloadmediawikicore-8aae1a0b2118ae316fc68b28d724f34b76f27a0e.tar.gz
mediawikicore-8aae1a0b2118ae316fc68b28d724f34b76f27a0e.zip
Fix error message in test assertion
Change-Id: Id7604d9af623ffdb77b16960e8b9ca893d368963
Diffstat (limited to 'tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php')
-rw-r--r--tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php b/tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php
index 199fd7aadc79..6c0c0b12a663 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/ParsoidHTMLHelperTest.php
@@ -213,7 +213,7 @@ class ParsoidHTMLHelperTest extends MediaWikiIntegrationTestCase {
MWTimestamp::setFakeTime( $now );
$this->assertTrue(
$page->getTitle()->invalidateCache( MWTimestamp::convert( TS_MW, $now ) ),
- 'Can invalidate cache'
+ 'Cannot invalidate cache'
);
DeferredUpdates::doUpdates();
$page->clear();