dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update RELEASE-NOTES-1.31
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
MediaWikiTestCase.php
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
8b2d099
..
87ca918
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-1570,7
+1570,7
@@
abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
$db->delete( $tbl, '*', __METHOD__ );
}
- if (
$db->getType() === 'postgres'
) {
+ if (
in_array( $db->getType(), [ 'postgres', 'sqlite' ], true )
) {
// Reset the table's sequence too.
$db->resetSequenceForTable( $tbl, __METHOD__ );
}