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
Expose the latest modified index seen by EtcdConfig
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
suites
/
ParserTestFileSuite.php
diff --git
a/tests/phpunit/suites/ParserTestFileSuite.php
b/tests/phpunit/suites/ParserTestFileSuite.php
index
dbee894
..
b72d8b8
100644
(file)
--- a/
tests/phpunit/suites/ParserTestFileSuite.php
+++ b/
tests/phpunit/suites/ParserTestFileSuite.php
@@
-23,6
+23,10
@@
class ParserTestFileSuite extends PHPUnit_Framework_TestSuite {
}
function setUp() {
}
function setUp() {
- $this->ptRunner->addArticles( $this->ptFileInfo[ 'articles'] );
+ if ( !$this->ptRunner->meetsRequirements( $this->ptFileInfo['requirements'] ) ) {
+ $this->markTestSuiteSkipped( 'required extension not enabled' );
+ } else {
+ $this->ptRunner->addArticles( $this->ptFileInfo[ 'articles'] );
+ }
}
}
}
}