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

Issue #3316680 followup: Fix test failures introduced.

parent ce91e075
No related branches found
No related tags found
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
......@@ -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