PHP Class luyatests\core\web\CompositionTest

$parts = Yii::$app->composition->get(); $this->assertArrayHasKey('langShortCode', $parts); $this->assertArrayHasKey('foo', $parts); $this->assertArrayHasKey('bar', $parts); $this->assertEquals('de', $parts['langShortCode']); $this->assertEquals('de', Yii::$app->composition->getLanguage()); $this->assertEquals('1234', $parts['foo']); $this->assertEquals('luya09', $parts['bar']);
Author: nadar
Inheritance: extends luyatests\LuyaWebTestCase
Datei anzeigen Open project: luyadev/luya

Public Methods

Method Description
testEmptyAssignException ( )
testExceptionOnInit ( )
testGetDefaultLanguage ( )
testGetKeys ( )
testGetResolvedPathInfo ( )
testLocalisation ( )
testMultiDomainMapping ( )
testMultipleResolvedPaths ( )
testNotAllowedUnset ( )
testRemoval ( )
testResolvedPaths ( )

Private Methods

Method Description
resolveHelper ( $url, $compUrl )

Method Details

testEmptyAssignException() public method

testExceptionOnInit() public method

public testExceptionOnInit ( )

testGetDefaultLanguage() public method

testGetKeys() public method

public testGetKeys ( )

testGetResolvedPathInfo() public method

testLocalisation() public method

public testLocalisation ( )

testMultiDomainMapping() public method

testMultipleResolvedPaths() public method

testNotAllowedUnset() public method

public testNotAllowedUnset ( )

testRemoval() public method

public testRemoval ( )

testResolvedPaths() public method

public testResolvedPaths ( )