Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class StandardTest extends \PHPUnit\Framework\TestCase |
||
7 | { |
||
8 | public function testGet() |
||
9 | { |
||
10 | $config = \TestHelper::getConfig()->get( 'resource' ); |
||
11 | $config['fs-media'] = [ |
||
12 | 'adapter' => 'Standard', |
||
13 | 'basedir' => __DIR__ |
||
14 | ]; |
||
15 | |||
16 | $object = new \Aimeos\Base\Filesystem\Manager\Standard( $config ); |
||
17 | |||
18 | $this->assertInstanceof( 'Aimeos\Base\Filesystem\Iface', $object->get( 'fs-media' ) ); |
||
19 | } |
||
20 | |||
21 | |||
22 | public function testGetFallback() |
||
33 | } |
||
34 | } |
||
35 |