gcommerce-8.x-1.0-beta5/modules/gcommerce_promotion/tests/src/Kernel/GroupPromotionConfigTest.php
modules/gcommerce_promotion/tests/src/Kernel/GroupPromotionConfigTest.php
<?php
namespace Drupal\Tests\gcommerce_promotion\Kernel;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
/**
* Tests that all config provided by this module passes validation.
*
* @group gcommerce_promotion
*/
class GroupPromotionConfigTest extends EntityKernelTestBase {
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'address',
'commerce',
'commerce_order',
'commerce_price',
'commerce_promotion',
'commerce_store',
'datetime',
'entity',
'entity_reference_revisions',
'flexible_permissions',
'gcommerce',
'gcommerce_promotion',
'group',
'options',
'profile',
'state_machine',
'variationcache',
'views',
];
/**
* Tests that the module's config installs properly.
*/
public function testConfig(): void {
$this->installConfig(['gcommerce_promotion']);
}
}
