Skip to content

Commit

Permalink
Merge pull request baserproject#3953 from thangnnmd/unitTest_PluginsA…
Browse files Browse the repository at this point in the history
…dminService_isPluginsDirWritable

PluginsAdminService::isPluginsDirWritable
  • Loading branch information
HungDV2022 authored Oct 28, 2024
2 parents 4cbb228 + 0a65e0f commit 8e62fd2
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 8e62fd2

Please sign in to comment.