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

@@ -16,6 +16,16 @@ use Tests\TestCase;
class ActionsByEmailTest 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();
}
/**
*
* @return void
@@ -23,7 +33,6 @@ class ActionsByEmailTest extends TestCase
public function setUp(): void
{
parent::setUp();
$this->truncateNonInitialModels();
}
/**
@@ -274,6 +283,7 @@ class ActionsByEmailTest extends TestCase
*/
public function it_should_test_the_load_action_by_email_method()
{
self::truncateNonInitialModels();
$user = User::factory()->create();
$application = Application::factory()->create([
'APP_UID' => '123456asse'