PMCORE-3643
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user