From a826dd4c1a791951d0f6b3126aca1d421cd6d512 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 30 Jun 2020 22:04:56 +0300 Subject: [PATCH] Updated Locale tests --- app/config/locales.php | 1 - tests/e2e/Services/Locale/LocaleBase.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/config/locales.php b/app/config/locales.php index 45b48cee0..84738367b 100644 --- a/app/config/locales.php +++ b/app/config/locales.php @@ -31,7 +31,6 @@ return [ 'no', // Norwegian 'ph', // Filipino 'pl', // Polish - 'pn', // Punjabi 'pt-br', // Portuguese - Brazil 'pt-pt', // Portuguese - Portugal 'ro', // Romanian diff --git a/tests/e2e/Services/Locale/LocaleBase.php b/tests/e2e/Services/Locale/LocaleBase.php index 20fb91b25..b276eef62 100644 --- a/tests/e2e/Services/Locale/LocaleBase.php +++ b/tests/e2e/Services/Locale/LocaleBase.php @@ -227,7 +227,7 @@ trait LocaleBase 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-locale' => $lang, ]); - + foreach ($response['body'] as $i => $code) { $this->assertArrayHasKey($i, $defaultCountries, $i . ' country should be removed from ' . $lang); }