Mwjames has uploaded a new change for review.
https://gerrit.wikimedia.org/r/92854
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki
refs/changes/54/92854/1
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: newchange
Gerrit-Change-Id: I9518c8975c1ca92212a75f047524b572e848bd52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits