mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINDR: Deliberately broke build in order to test buildbot
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@54667 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
29bf71d3d6
commit
ffdc4f2fd2
@ -108,9 +108,8 @@ class TestRunner extends Controller {
|
||||
Debug::loadErrorHandlers();
|
||||
|
||||
if(!Director::is_cli()) self::$default_reporter->writeFooter();
|
||||
|
||||
// Todo: we should figure out how to pass this data back through Director more cleanly
|
||||
if(Director::is_cli() && $testResult->errorCount() > 0) exit(2);
|
||||
if(Director::is_cli() && ($testResult->failureCount() + $testResult->errorCount()) > 0) exit(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
class i18nTest extends SapphireTest {
|
||||
function testGetExistingTranslations() {
|
||||
$this->assertTrue(false);
|
||||
$translations = i18n::get_existing_translations();
|
||||
$this->assertTrue(isset($translations['en_US']), 'Checking for en_US translation');
|
||||
$this->assertTrue(isset($translations['de_DE']), 'Checking for de_DE translation');
|
||||
|
Loading…
Reference in New Issue
Block a user