Passed
Push — master ( 50ef06...39e934 )
by Aimeos
03:50
created

BundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGet() 0 9 1
1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2015-2024
6
 */
7
8
9
namespace Aimeos\Admin;
10
11
12
class BundleTest extends \PHPUnit\Framework\TestCase
13
{
14
	public function testGet()
15
	{
16
		$manifest = dirname( __DIR__, 3 ) . '/manifest.jsb2';
17
18
		$this->assertFalse( empty( \Aimeos\Admin\JQAdm\Bundle::get( [$manifest], 'index-css' ) ) );
19
		$this->assertFalse( empty( \Aimeos\Admin\JQAdm\Bundle::get( [$manifest], 'index-ltr-css' ) ) );
20
		$this->assertFalse( empty( \Aimeos\Admin\JQAdm\Bundle::get( [$manifest], 'index-rtl-css' ) ) );
21
		$this->assertFalse( empty( \Aimeos\Admin\JQAdm\Bundle::get( [$manifest], 'index-js' ) ) );
22
		$this->assertFalse( empty( \Aimeos\Admin\JQAdm\Bundle::get( [$manifest], 'vendor-js' ) ) );
23
	}
24
}
25