Skip to content
Snippets Groups Projects
Commit 9dff6adf authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

Issue #3316680 followup: Fix test failures introduced.

parent 80eded23
Branches
Tags
7 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent
......@@ -92,7 +92,7 @@ class OrderReassignTest extends OrderWebDriverTestBase {
$this->submitForm(['uid' => $another_user->getAccountName()], 'Reassign order');
$collection_url = $this->order->toUrl('collection', ['absolute' => TRUE]);
$this->assertSession()->addressEquals($collection_url);
$this->assertSession()->pageTextContains($this->t('The @labep has been assigned to customer @customer.', [
$this->assertSession()->pageTextContains($this->t('The @label has been assigned to customer @customer.', [
'@label' => $this->order->label(),
'@customer' => $another_user->getAccountName(),
]));
......
......@@ -5,6 +5,7 @@ namespace Drupal\Tests\commerce\Kernel;
use Drupal\commerce_price\Comparator\NumberComparator;
use Drupal\commerce_price\Comparator\PriceComparator;
use Drupal\commerce_store\StoreCreationTrait;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\Tests\commerce\Traits\DeprecationSuppressionTrait;
use SebastianBergmann\Comparator\Factory as PhpUnitComparatorFactory;
......@@ -16,6 +17,7 @@ abstract class CommerceKernelTestBase extends EntityKernelTestBase {
use DeprecationSuppressionTrait;
use StoreCreationTrait;
use StringTranslationTrait;
/**
* Modules to enable.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment