Skip to content

Commit

Permalink
(tests) Skip test of $wgCompressRevisions when using PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardspec committed Dec 30, 2024
1 parent a118305 commit ec53f60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/phpunit/EventCalendarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,11 @@ public function testSnippetCacheWasUsed() {
* Verify that symbols= parameter works if $wgCompressRevisions=true.
*/
public function testSnippetForCompressedRevision() {
if ( $this->getDB()->getType() === 'postgres' ) {
$this->markTestSkipped(
'MediaWiki itself doesn\'t seem to support $wgCompressRevisions with PostgreSQL.' );
}

$pageText = 'Expected snippet';
$expectedSnippet = "<p>$pageText</p>";

Expand Down

0 comments on commit ec53f60

Please sign in to comment.