mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 11:39:41 +08:00
Remove test of data providers, and replace expectNotToPerformAssertions() to assertTrue(true) for code coverage.
This commit is contained in:
@ -110,8 +110,6 @@ HTML
|
||||
|
||||
public function testRegisterClientScript()
|
||||
{
|
||||
$this->expectNotToPerformAssertions();
|
||||
|
||||
$this->mockWebApplication();
|
||||
$_SERVER['REQUEST_URI'] = 'http://example.com/';
|
||||
|
||||
@ -135,6 +133,8 @@ HTML
|
||||
$form->field($model, 'name');
|
||||
$form::end();
|
||||
ob_get_clean();
|
||||
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user