projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
APIv4 - Reorganize test classes, don't use transactions for custom value tests
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v4
/
Entity
/
EntityTest.php
diff --git
a/tests/phpunit/api/v4/Entity/EntityTest.php
b/tests/phpunit/api/v4/Entity/EntityTest.php
index 06139637f2e60a48bf9903d196870f1ad8d226d9..fa93ddbeba16b8ab3f0d29b0f97e8d8c538c59ba 100644
(file)
--- a/
tests/phpunit/api/v4/Entity/EntityTest.php
+++ b/
tests/phpunit/api/v4/Entity/EntityTest.php
@@
-21,12
+21,13
@@
namespace api\v4\Entity;
use Civi\API\Exception\NotImplementedException;
use Civi\Api4\Entity;
use Civi\API\Exception\NotImplementedException;
use Civi\Api4\Entity;
-use api\v4\UnitTestCase;
+use api\v4\Api4TestBase;
+use Civi\Test\TransactionalInterface;
/**
* @group headless
*/
/**
* @group headless
*/
-class EntityTest extends
UnitTestCas
e {
+class EntityTest extends
Api4TestBase implements TransactionalInterfac
e {
public function testEntityGet() {
\CRM_Core_BAO_ConfigSetting::enableComponent('CiviEvent');
public function testEntityGet() {
\CRM_Core_BAO_ConfigSetting::enableComponent('CiviEvent');