jenkins-bot has submitted this change and it was merged.

Change subject: Avoid not needed number literal in SpecialEntityDataTest
......................................................................


Avoid not needed number literal in SpecialEntityDataTest

Change-Id: I014f5a3417b77b58611f4cc08c60a04224d081d8
---
M repo/tests/phpunit/includes/specials/SpecialEntityDataTest.php
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/tests/phpunit/includes/specials/SpecialEntityDataTest.php 
b/repo/tests/phpunit/includes/specials/SpecialEntityDataTest.php
index 5b92372..0e1e552 100644
--- a/repo/tests/phpunit/includes/specials/SpecialEntityDataTest.php
+++ b/repo/tests/phpunit/includes/specials/SpecialEntityDataTest.php
@@ -83,7 +83,6 @@
                        new MockSiteStore()
                );
 
-               $maxAge = 60*60;
                $formats = array( 'json', 'rdfxml', 'ntriples' );
                $entityDataFormatProvider->setFormatWhiteList( $formats );
 
@@ -110,7 +109,7 @@
                        $serializationService,
                        $entityDataFormatProvider,
                        $defaultFormat,
-                       $maxAge,
+                       0,
                        $useSquid,
                        $apiFrameOptions
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/242537
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I014f5a3417b77b58611f4cc08c60a04224d081d8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to