TranslatorServicesProviderTest extends TestCase
Tests AccountController
Table of Contents
$testLocale | bool[] | |
---|---|---|
setUp() | Setup test database for controller tests | void |
testActualService() | Will return the default locale (fr_FR) | void |
testActualServiceWithDefaultIndentifier() | Will return en_US | void |
testActualServiceWithNonStringIndentifier() | Will return en_US | void |
Properties
$testLocale
protected
bool[]
$testLocale
= [
'fr_FR' => 'french',
// Legacy setting
'en_US' => true,
'es_ES' => false,
]
Methods
setUp()
Setup test database for controller tests
public
setUp(
)
: void
testActualService()
Will return the default locale (fr_FR)
public
testActualService(
)
: void
testActualServiceWithDefaultIndentifier()
Will return en_US
public
testActualServiceWithDefaultIndentifier(
)
: void
testActualServiceWithNonStringIndentifier()
Will return en_US
public
testActualServiceWithNonStringIndentifier(
)
: void