PMCORE-3643

This commit is contained in:
Paula Quispe
2022-01-24 10:14:55 -04:00
parent cbc0ea65f2
commit 93b12edb14
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ use Faker\Generator as Faker;
$factory->define(\ProcessMaker\Model\OauthClients::class, function(Faker $faker) { $factory->define(\ProcessMaker\Model\OauthClients::class, function(Faker $faker) {
return [ return [
"CLIENT_ID" => $faker->word, "CLIENT_ID" => $faker->unique()->word(),
"CLIENT_SECRET" => $faker->regexify("/[a-zA-Z]{6}/"), "CLIENT_SECRET" => $faker->regexify("/[a-zA-Z]{6}/"),
"CLIENT_NAME" => $faker->regexify("/[a-zA-Z]{6}/"), "CLIENT_NAME" => $faker->regexify("/[a-zA-Z]{6}/"),
"CLIENT_DESCRIPTION" => $faker->text, "CLIENT_DESCRIPTION" => $faker->text,

View File

@@ -547,7 +547,7 @@ class TaskTest extends TestCase
//Gets the result //Gets the result
$printing = ob_get_clean(); $printing = ob_get_clean();
//Asserts the result is printing that there is no exisiting records to continue a case in the determined date //Asserts the result is printing that there is no exisiting records to continue a case in the determined date
$this->assertRegExp('/No existing records to continue a case, on date "' . $date . '/', $printing); $this->assertRegExp('/There are no records to start new cases, on date "' . $date . '/', $printing);
} }
//assert asynchronous for job process //assert asynchronous for job process
if ($asynchronous === true) { if ($asynchronous === true) {