mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 01:17:13 +08:00
Remove test of data providers, and replace expectNotToPerformAssertions() to assertTrue(true) for code coverage.
This commit is contained in:
@ -359,8 +359,6 @@ class FileHelperTest extends TestCase
|
||||
*/
|
||||
public function testCopyDirWithSameName()
|
||||
{
|
||||
$this->expectNotToPerformAssertions();
|
||||
|
||||
$this->createFileStructure([
|
||||
'data' => [],
|
||||
'data-backup' => [],
|
||||
@ -370,6 +368,8 @@ class FileHelperTest extends TestCase
|
||||
$this->testFilePath . DIRECTORY_SEPARATOR . 'data',
|
||||
$this->testFilePath . DIRECTORY_SEPARATOR . 'data-backup'
|
||||
);
|
||||
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
public function testRemoveDirectory()
|
||||
|
||||
Reference in New Issue
Block a user