Merged in bugfix/PMCORE-3167 (pull request #7992)

PMCORE-3167

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2021-07-21 20:07:52 +00:00
committed by Julio Cesar Laura Avendaño
4 changed files with 133 additions and 121 deletions

View File

@@ -46,7 +46,7 @@ class rbacTest extends TestCase
$rbac->initRBAC();
$result = $rbac->updateUser($data, $rolCode);
//assert
// assert
$user = \ProcessMaker\Model\RbacUsers::where('USR_UID', '=', $data['USR_UID'])->first()->toArray();
$this->assertEquals($data['USR_DUE_DATE'], $user['USR_DUE_DATE']);
}

View File

@@ -42,6 +42,7 @@ class CasesTest extends TestCase
* This checks the delete case
*
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
*
* @test
* @expectedException Exception
*/
@@ -63,6 +64,7 @@ class CasesTest extends TestCase
* This checks the delete case
*
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
*
* @test
* @expectedException Exception
*/
@@ -84,6 +86,7 @@ class CasesTest extends TestCase
* This checks the delete case
*
* @covers \ProcessMaker\BusinessModel\Cases::deleteCase()
*
* @test
* @expectedException Exception
*/