Skip to content
Snippets Groups Projects
Unverified Commit d14171fd authored by Tom Ashe's avatar Tom Ashe Committed by Tom Ashe
Browse files

Issue #3397450 by TomTech: Fix phpunit issues

parent cd800169
No related branches found
No related tags found
1 merge request!8Issue #3397450 by TomTech: Fix phpunit issues
Pipeline #40861 passed with warnings
{
"name": "drupal/gcommerce",
"type": "drupal-module",
"description": "Group commerce entity relationships",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/gcommerce",
"minimum-stability": "dev",
"support": {
"issues": "https://www.drupal.org/project/issues/gcommerce",
"source": "https://cgit.drupalcode.org/gcommerce"
},
"require": {
"drupal/commerce": "^2.19 || ^3",
"drupal/group": "^3",
"php": ">=8.0",
"drupal/core": "^9.5 || ^10"
}
"name": "drupal/gcommerce",
"type": "drupal-module",
"description": "Group commerce entity relationships",
"keywords": [
"Drupal"
],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/gcommerce",
"minimum-stability": "dev",
"support": {
"issues": "https://www.drupal.org/project/issues/gcommerce",
"source": "https://cgit.drupalcode.org/gcommerce"
},
"require": {
"drupal/commerce": "^2.19 || ^3",
"drupal/group": "^3",
"php": ">=8.0",
"drupal/core": "^9.5 || ^10"
},
"require-dev": {
"drupal/commerce_license": "^3.0",
"drupal/commerce_invoice": "^2.0"
}
}
# Schema for the configuration files of the gcommerce module.
gcommerce.settings:
type: config_object
label: 'Group Commerce settings'
mapping:
allowed_group_types:
type: sequence
label: 'Allowed group types'
orderby: value
sequence:
type: string
label: 'Group type'
......@@ -9,6 +9,7 @@ use Drupal\Tests\group\Functional\EntityOperationsTest as GroupEntityOperationsT
*
* @see gcommerce_invoice_entity_operation()
*
* @requires module commerce_invoice
* @group gcommerce_invoice
*/
class EntityOperationsTest extends GroupEntityOperationsTest {
......@@ -16,7 +17,7 @@ class EntityOperationsTest extends GroupEntityOperationsTest {
/**
* {@inheritdoc}
*/
protected static $modules = ['gcommerce_invoice'];
protected static $modules = ['gcommerce_invoice', 'commerce_invoice'];
/**
* {@inheritdoc}
......
......@@ -7,6 +7,7 @@ use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
/**
* Tests that all config provided by this module passes validation.
*
* @requires module commerce_invoice
* @group gcommerce_invoice
*/
class GroupInvoiceConfigTest extends EntityKernelTestBase {
......@@ -20,10 +21,13 @@ class GroupInvoiceConfigTest extends EntityKernelTestBase {
'address',
'commerce',
'commerce_invoice',
'commerce_order',
'commerce_price',
'commerce_store',
'entity',
'entity_print',
'entity_reference_revisions',
'file',
'flexible_permissions',
'gcommerce',
'gcommerce_invoice',
......
......@@ -9,6 +9,7 @@ use Drupal\Tests\group\Functional\EntityOperationsTest as GroupEntityOperationsT
*
* @see gcommerce_license_entity_operation()
*
* @requires module commerce_license
* @group gcommerce_license
*/
class EntityOperationsTest extends GroupEntityOperationsTest {
......@@ -16,7 +17,7 @@ class EntityOperationsTest extends GroupEntityOperationsTest {
/**
* {@inheritdoc}
*/
protected static $modules = ['gcommerce_license'];
protected static $modules = ['gcommerce_license', 'commerce_license'];
/**
* {@inheritdoc}
......
......@@ -7,6 +7,7 @@ use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
/**
* Tests that all config provided by this module passes validation.
*
* @requires module commerce_license
* @group gcommerce_license
*/
class GroupLicenseConfigTest extends EntityKernelTestBase {
......@@ -20,7 +21,9 @@ class GroupLicenseConfigTest extends EntityKernelTestBase {
'address',
'commerce',
'commerce_license',
'commerce_order',
'commerce_price',
'commerce_product',
'commerce_store',
'entity',
'entity_reference_revisions',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment