Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
assertLanguage example
$this
->
assertSame
(
$label
,
$language
->
label
(
)
)
;
$this
->
assertSame
(
$direction
,
$language
->
getDirection
(
)
)
;
$this
->
assertSame
(
0,
$language
->
getWeight
(
)
)
;
$this
->
assertFalse
(
$language
->
isLocked
(
)
)
;
}
/** * Tests migration of Drupal 6 languages to configurable language entities. */
public
function
testLanguageMigration
(
)
{
$this
->
executeMigration
(
'language'
)
;
$this
->
assertLanguage
(
'en', 'English'
)
;
$this
->
assertLanguage
(
'fr', 'French'
)
;
}
}