diff --git a/tests/phpunit/EventCalendarTest.php b/tests/phpunit/EventCalendarTest.php index 4b483e0..5fef76e 100644 --- a/tests/phpunit/EventCalendarTest.php +++ b/tests/phpunit/EventCalendarTest.php @@ -752,6 +752,12 @@ public function testSnippetCacheWasUsed() { * Verify that symbols= parameter works if $wgCompressRevisions=true. */ public function testSnippetForCompressedRevision() { + $dbw = $this->getServiceContainer()->getDBLoadBalancer()->getConnection( DB_PRIMARY ); + if ( $dbw->getType() === 'postgres' ) { + $this->markTestSkipped( + 'MediaWiki itself doesn\'t seem to support $wgCompressRevisions with PostgreSQL.' ); + } + $pageText = 'Expected snippet'; $expectedSnippet = "

$pageText

";