Skip to content

Commit

Permalink
Merge pull request #4006 from thangnnmd/unitTest_PluginsAdminService_…
Browse files Browse the repository at this point in the history
…whichPhp

PluginsAdminService::whichPhp ユニットテスト
  • Loading branch information
HungDV2022 authored Nov 12, 2024
2 parents f7f2be4 + 612aeef commit 1a43666
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public function getViewVarsForUpdate(EntityInterface $entity): array
* @return mixed|string
* @checked
* @noTodo
* @unitTest
*/
public function whichPhp()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,12 @@ public function test_isPluginsDirWritable()
$this->assertTrue($result);
}

/**
*test whichPhp
*/
public function testWhichPhp()
{
$this->assertEquals('/usr/local/bin/php', $this->PluginsAdmin->whichPhp());
}

}

0 comments on commit 1a43666

Please sign in to comment.