From a0cc999d5b11ccd0fa9cd0bec4437c91f71a0c6b Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sun, 31 May 2020 14:11:49 -0700 Subject: [PATCH] Minor test updates --- tests/.env | 5 +++++ tests/Factories/TranslationFactoryTest.php | 3 +++ 2 files changed, 8 insertions(+) diff --git a/tests/.env b/tests/.env index 7de2285..8aa6bd3 100644 --- a/tests/.env +++ b/tests/.env @@ -3,10 +3,14 @@ APP_LANGUAGE=en DARK_MODE=false DISPLAY_READMES=true +READMES_FIRST=false ZIP_DOWNLOADS=true GOOGLE_ANALYTICS_ID=false +MATOMO_ANALYTICS_URL=false +MATOMO_ANALYTICS_SITE_ID=false + SORT_ORDER=type REVERSE_SORT=false @@ -14,6 +18,7 @@ HIDE_APP_FILES=true HIDE_VCS_FILES=true DATE_FORMAT="Y-m-d H:i:s" +TIMEZONE="America/Phoenix" MAX_HASH_SIZE=1000000000 diff --git a/tests/Factories/TranslationFactoryTest.php b/tests/Factories/TranslationFactoryTest.php index 076823d..dc56383 100644 --- a/tests/Factories/TranslationFactoryTest.php +++ b/tests/Factories/TranslationFactoryTest.php @@ -20,7 +20,10 @@ class TranslationFactoryTest extends TestCase $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('fr')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('id')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('it')); + $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('kr')); + $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('nl')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('pl')); + $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('pt-BR')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('ro')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('ru')); $this->assertInstanceOf(MessageCatalogue::class, $translator->getCatalogue('zh-CN'));