Skip to content

Commit

Permalink
Add unitTest_PluginsAdminService_isPluginsDirWritable
Browse files Browse the repository at this point in the history
  • Loading branch information
thangnn committed Oct 25, 2024
1 parent a38d874 commit 0a65e0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ public function getViewVarsForAdd()
* @return bool
* @checked
* @noTodo
* @unitTest
*/
public function isPluginsDirWritable()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,13 @@ public function test_getViewVarsForAdd()
$this->assertTrue(isset($vars['isPluginsDirWritable']));
}

/**
* test isPluginsDirWritable
*/
public function test_isPluginsDirWritable()
{
$result = $this->PluginsAdmin->isPluginsDirWritable();
$this->assertTrue($result);
}

}

0 comments on commit 0a65e0f

Please sign in to comment.