diff --git a/tests/src/Functional/UninstallTest.php b/tests/src/Functional/UninstallTest.php index d354a7a3..7e7bebe5 100644 --- a/tests/src/Functional/UninstallTest.php +++ b/tests/src/Functional/UninstallTest.php @@ -3,6 +3,7 @@ namespace Drupal\Tests\commerce\Functional; use Drupal\Tests\BrowserTestBase; +use Drupal\Tests\commerce\Traits\DeprecationSuppressionTrait; /** * Tests module uninstallation. @@ -11,6 +12,24 @@ use Drupal\Tests\BrowserTestBase; */ class UninstallTest extends BrowserTestBase { + use DeprecationSuppressionTrait; + + /** + * {@inheritdoc} + */ + protected function setUp() { + $this->setErrorHandler(); + parent::setUp(); + } + + /** + * {@inheritdoc} + */ + protected function tearDown() { + parent::tearDown(); + $this->restoreErrorHandler(); + } + /** * {@inheritdoc} */