Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST ONLY] APIv4 - Remove unused extras from ConformanceTest #23410

Merged
merged 1 commit into from
May 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions tests/phpunit/api/v4/Entity/ConformanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

use api\v4\Service\TestCreationParameterProvider;
use api\v4\Traits\CheckAccessTrait;
use api\v4\Traits\OptionCleanupTrait;
use api\v4\Traits\TableDropperTrait;
use Civi\API\Exception\UnauthorizedException;
use Civi\Api4\CustomField;
Expand All @@ -35,18 +34,14 @@
use Civi\Core\Event\PostEvent;
use Civi\Core\Event\PreEvent;
use Civi\Test\HookInterface;
use Civi\Test\TransactionalInterface;

/**
* @group headless
*/
class ConformanceTest extends Api4TestBase implements HookInterface, TransactionalInterface {
class ConformanceTest extends Api4TestBase implements HookInterface {

use CheckAccessTrait;
use TableDropperTrait;
use OptionCleanupTrait {
setUp as setUpOptionCleanup;
}

/**
* @var \api\v4\Service\TestCreationParameterProvider
Expand All @@ -61,7 +56,6 @@ class ConformanceTest extends Api4TestBase implements HookInterface, Transaction
public function setUp(): void {
// Enable all components
\CRM_Core_BAO_ConfigSetting::enableAllComponents();
$this->setUpOptionCleanup();
$this->loadDataSet('CaseType');
$this->loadDataSet('ConformanceTest');
$gatherer = new SpecGatherer();
Expand Down