PMCORE-3674
This commit is contained in:
committed by
Paula.Quispe
parent
e79f5ac1cc
commit
8fbcb712e5
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\unit\workflow\engine\classes\PmFunctions;
|
||||
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use ProcessMaker\Model\Groupwf;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Test the PMFGetGroupUID() function
|
||||
*
|
||||
* @link https://wiki.processmaker.com/3.1/ProcessMaker_Functions#PMFGetGroupUID.28.29
|
||||
*/
|
||||
class PMFGetGroupUIDTest extends TestCase
|
||||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
/**
|
||||
* This tests if the "PMFGetGroupUID"
|
||||
* @test
|
||||
*/
|
||||
public function it_group_uid()
|
||||
{
|
||||
// Create group
|
||||
$group = factory(Groupwf::class)->create();
|
||||
$result = PMFGetGroupUID($group->GRP_UID);
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user