Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | public function testGet() |
||
6 | { |
||
7 | $conf = array( |
||
8 | 'apc_enabled' => true, |
||
9 | 'i18n' => array( 'en' => array( 0 => array() ) ), |
||
10 | ); |
||
11 | |||
12 | $container = new \Slim\Container(); |
||
13 | $container['aimeos'] = new \Aimeos\Bootstrap(); |
||
14 | $container['aimeos.config'] = new \Aimeos\Slim\Base\Config( $container, $conf ); |
||
15 | |||
16 | |||
17 | $object = new \Aimeos\Slim\Base\I18n( $container ); |
||
18 | $list = $object->get( array( 'en' ) ); |
||
19 | |||
20 | $this->assertInstanceOf( '\Aimeos\MW\Translation\Iface', $list['en'] ); |
||
21 | } |
||
23 |