Make the test actually works (#2043)

* Make the test actually works

* Fix of Nations_German.json file
This commit is contained in:
JackRainy 2020-02-29 20:10:55 +02:00 committed by GitHub
parent 9fbd569e1f
commit 241ce8b4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"leaderName": "Nebuchadnezzar II",
"adjective": ["Babylonisch"],
"startBias": ["Vermeide Tundra"],
"preferredVictoryType": "Wissenschaft",
"preferredVictoryType": "Scientific",
"startIntroPart1": "May the blessings of heaven be upon you, O great Nebuchadnezzar, father of mighty and ancient Babylon! Young was the world when Sargon built Babylon some five thousand years ago, long did it grow and prosper, gaining its first empire the eighteenth century BC, under godlike Hammurabi, the giver of law. Although conquered by the Kassites and then by the Assyrians, Babylon endured, emerging phoenix-like from its ashes of destruction and regaining its independence despite its many enemies. Truly was Babylon the center of arts and learning in the ancient world. O Nebuchadnezzar, your empire endured but a short time after your death, falling to the mighty Persians, and then to the Greeks, until the great city was destroyed by 141 BC.",
"startIntroPart2": "But is Babylon indeed gone forever, great Nebuchadnezzar? Your people look to you to bring the empire back to life once more. Will you accept the challenge? Will you build a civilization that will stand the test of time?",

View File

@ -177,7 +177,7 @@ class TranslationTests {
@Test
fun allTranslatedNationsFilesAreSerializable() {
for (file in Gdx.files.internal("jsons/Nations").list()) {
jsonParser.getFromJson(Array<Nation>().javaClass, file.path())
jsonParser.getFromJson(emptyArray<Nation>().javaClass, file.path())
}
Assert.assertTrue("This test will only pass when there is a translation for all promotions",
true)