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:
Sam Minnee 2008-05-16 04:14:50 +00:00
parent 29bf71d3d6
commit ffdc4f2fd2
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -2,9 +2,10 @@
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');
}
}
}