Files
luos/tests/unit/workflow/engine/classes/PmFunctions/PmSqlEscapeTest.php

23 lines
416 B
PHP
Raw Normal View History

2022-03-02 11:59:29 -04:00
<?php
namespace Tests\unit\workflow\engine\classes\PmFunctions;
use Tests\TestCase;
/**
* Test the pmSqlEscape() function
*/
class PmSqlEscapeTest extends TestCase
{
/**
* This tests the "pmSqlEscape"
* @test
*/
public function it_get_sql_escape()
{
$value = 'select uid from user';
$result = pmSqlEscape($value);
$this->assertEquals($result, $value);
}
}