PMCORE-3993 Circle CI: Research the Enable the coverage in PHPUnit 9.5.0 in develop
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user