PMCORE-3993 Circle CI: Research the Enable the coverage in PHPUnit 9.5.0 in develop

This commit is contained in:
Roly Gutierrez
2022-11-10 20:29:56 -04:00
parent 693602eaab
commit e8b0b3b273
41 changed files with 527 additions and 90 deletions

View File

@@ -25,13 +25,22 @@ use Tests\TestCase;
*/
class CasesTest extends TestCase
{
/**
* This method is called before the first test of this test class is run.
* @return void
*/
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
self::truncateNonInitialModels();
}
/**
* Set up method.
*/
public function setUp(): void
{
parent::setUp();
$this->truncateNonInitialModels();
User::where('USR_ID', '=', 1)
->where('USR_ID', '=', 2)
->delete();
@@ -330,6 +339,7 @@ class CasesTest extends TestCase
*/
public function it_should_test_get_dynaforms_by_application()
{
Application::truncate();
// Create a process
$process = Process::factory()->create();