Mwjames has submitted this change and it was merged.
Change subject: Travis check on 305.3
......................................................................
Travis check on 305.3
Array (...) does not match expected type "boolean".
Change-Id: I9518c8975c1ca92212a75f047524b572e848bd52
---
M tests/phpunit/includes/hooks/ArticlePurgeTest.php
1 file changed, 5 insertions(+), 3 deletions(-)
Approvals:
Mwjames: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/phpunit/includes/hooks/ArticlePurgeTest.php
b/tests/phpunit/includes/hooks/ArticlePurgeTest.php
index 4aa0655..1e2ca3c 100644
--- a/tests/phpunit/includes/hooks/ArticlePurgeTest.php
+++ b/tests/phpunit/includes/hooks/ArticlePurgeTest.php
@@ -85,11 +85,13 @@
'Asserts the autorefresh cache status before processing'
);
- // Travis 210.5
+ // Travis 210.5, 305.3
+ $travis = $cache->setKey( $id )->get();
+ $travisText = json_encode( $travis );
$this->assertEquals(
$expected['factboxPreProcess'],
- $cache->setKey( $id )->get(),
- 'Asserts the factbox cache status before processing'
+ $travis,
+ "Asserts the factbox cache status before processing,
{$travisText}"
);
$this->assertFalse(
--
To view, visit https://gerrit.wikimedia.org/r/92854
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9518c8975c1ca92212a75f047524b572e848bd52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits