Skip to content

Commit

Permalink
Fix for deprecation in tests (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli authored Sep 7, 2023
1 parent 3ddaa1b commit 503a0ec
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ class GeneralSettingsConfigFormTest extends AddCreditFunctionalTestBase {
*/
protected $product;

/**
* A developer user.
*
* @var \Drupal\user\UserInterface
*/
protected $developer;

/**
* {@inheritdoc}
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ class UpdateBillingTypeTest extends AddCreditFunctionalJavascriptTestBase {
*/
protected $developer;

/**
* A developer user.
*
* @var \Drupal\user\UserInterface
*/
protected $developeruser;

/**
* {@inheritdoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,34 @@ class DateAndTextFormatterKernelTest extends MonetizationKernelTestBase {
*/
protected $settings;

/**
* The name of the entity type to use in this test.
*
* @var string
*/
protected $entityType;

/**
* The bundle being tested.
*
* @var string
*/
protected $bundle;

/**
* Holds the randomly-generated name of a field.
*
* @var string
*/
protected $fieldName;

/**
* Testing profile type entity view display.
*
* @var \Drupal\Core\Entity\Display\EntityViewDisplayInterface
*/
protected $display;

/**
* Extra modules to enable.
*
Expand Down

0 comments on commit 503a0ec

Please sign in to comment.