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

@@ -13,15 +13,6 @@ use Tests\TestCase;
*/
class UserConfigTest extends TestCase
{
/**
* Setup method,
*/
public function setUp(): void
{
parent::setUp();
$this->truncateNonInitialModels();
}
/**
* Teardown method.
*/
@@ -59,7 +50,7 @@ class UserConfigTest extends TestCase
*/
public function it_should_test_addSetting()
{
$id = 1;
$id = 2;
$name = "test";
$setting = ["test" => 1];
@@ -79,7 +70,7 @@ class UserConfigTest extends TestCase
*/
public function it_should_test_editSetting()
{
$id = 1;
$id = 3;
$name = "test";
$setting = ["test" => 1];
$result = UserConfig::addSetting($id, $name, $setting);
@@ -102,7 +93,7 @@ class UserConfigTest extends TestCase
*/
public function it_should_test_deleteSetting()
{
$id = 2;
$id = 4;
$name = "test2";
$setting = ["test2" => 1];
$result = UserConfig::addSetting($id, $name, $setting);