PMCORE-3674

This commit is contained in:
Paula Quispe
2022-03-02 11:59:29 -04:00
committed by Paula.Quispe
parent e79f5ac1cc
commit 8fbcb712e5
49 changed files with 1797 additions and 377 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Tests\unit\workflow\engine\classes\PmFunctions;
use Tests\TestCase;
/**
* Test the pmToInteger() function
*/
class PmToIntegerTest extends TestCase
{
/**
* This tests the "pmToInteger"
* @test
*/
public function it_get_int()
{
$value = '1';
$result = pmToInteger($value);
$this->assertEquals($result, 1);
}
}