mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-09 09:36:56 +01:00
Fixes #4075: Added CClientScript::hasPackage()
This commit is contained in:
committed by
GitHub
parent
9b14ff3e3f
commit
6771558d0c
@@ -91,6 +91,12 @@ class CClientScriptTest extends CTestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function testHasPackage()
|
||||
{
|
||||
$this->assertTrue($this->_clientScript->hasPackage('jquery'));
|
||||
$this->assertFalse($this->_clientScript->hasPackage('nonexisting'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider providerScriptFiles
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user