diff options
Diffstat (limited to 'www/wiki/extensions/Translate/tests/phpunit/pagetranslation/NowikiOnly.pttest')
-rw-r--r-- | www/wiki/extensions/Translate/tests/phpunit/pagetranslation/NowikiOnly.pttest | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/NowikiOnly.pttest b/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/NowikiOnly.pttest new file mode 100644 index 00000000..69d14eaa --- /dev/null +++ b/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/NowikiOnly.pttest @@ -0,0 +1,7 @@ +<?php + +if ( !defined( 'MEDIAWIKI' ) ) die(); + +if ( $parse->countSections() !== 0 ) { + $this->fail( "Testfile $filename failed misc tests... number of sections should be zero" ); +} |