Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
address
Commits
79e2b976
Commit
79e2b976
authored
May 16, 2017
by
Bojan Živanović
Browse files
Issue
#2859870
by bojanz: DefaultFormatterTest::testTaiwanAddress() is failing
parent
34060936
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/src/Kernel/Formatter/AddressDefaultFormatterTest.php
View file @
79e2b976
...
...
@@ -89,6 +89,8 @@ class AddressDefaultFormatterTest extends FormatterTestBase {
public
function
testTaiwanAddress
()
{
$language
=
\
Drupal
::
languageManager
()
->
getLanguage
(
'zh-hant'
);
\
Drupal
::
languageManager
()
->
setConfigOverrideLanguage
(
$language
);
// Reload the country repository for the new language to take effect.
$this
->
container
->
set
(
'address.country_repository'
,
NULL
);
$entity
=
EntityTest
::
create
([]);
$entity
->
{
$this
->
fieldName
}
=
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment