Soeren.oldag has submitted this change and it was merged.
Change subject: Make tests compatible with phpunit 3.7.37
......................................................................
Make tests compatible with phpunit 3.7.37
Change-Id: I52ce91b8f54f4ab3b2e2c558cd2aa9da743ffdbd
---
M tests/phpunit/Html/HtmlTableBuilderTest.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Soeren.oldag: Verified; Looks good to me, approved
diff --git a/tests/phpunit/Html/HtmlTableBuilderTest.php
b/tests/phpunit/Html/HtmlTableBuilderTest.php
index eb9af58..b35d480 100755
--- a/tests/phpunit/Html/HtmlTableBuilderTest.php
+++ b/tests/phpunit/Html/HtmlTableBuilderTest.php
@@ -249,7 +249,7 @@
$cellMock
->expects( $this->any() )
->method( 'toHtml' )
- ->willReturn( "<th>$content</th>" );
+ ->will( $this->returnValue( "<th>$content</th>" ) );
return $cellMock;
}
@@ -269,7 +269,7 @@
$cellMock
->expects( $this->any() )
->method( 'toHtml' )
- ->willReturn( "<td>$content</td>" );
+ ->will( $this->returnValue( "<td>$content</td>" ) );
return $cellMock;
}
--
To view, visit https://gerrit.wikimedia.org/r/218851
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I52ce91b8f54f4ab3b2e2c558cd2aa9da743ffdbd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQuality
Gerrit-Branch: v1
Gerrit-Owner: Soeren.oldag <[email protected]>
Gerrit-Reviewer: Soeren.oldag <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits