Skip to content
Snippets Groups Projects
Commit da97ea6b authored by Joe Parsons's avatar Joe Parsons
Browse files

PHPCS fixes.

parent fada08ad
No related branches found
No related tags found
No related merge requests found
Pipeline #417227 failed
......@@ -4,6 +4,7 @@
namespace Drupal\Tests\content_moderation\Kernel;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\node\Entity\NodeType;
use Drupal\system\Entity\Action;
use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait;
......@@ -19,6 +20,7 @@ class ActionConfigSchemaTest extends KernelTestBase {
use SchemaCheckTestTrait;
use ContentModerationTestTrait;
use StringTranslationTrait;
/**
* {@inheritdoc}
......@@ -53,7 +55,7 @@ protected function setUp(): void {
$action = Action::create([
'id' => 'change_moderation_state_to_draft',
'type' => 'node',
'label' => t('Change moderation state to Draft'),
'label' => $this->t('Change moderation state to Draft'),
'configuration' => [
'workflow' => 'editorial',
'state' => 'draft',
......@@ -66,7 +68,7 @@ protected function setUp(): void {
$action = Action::create([
'id' => 'change_moderation_state_to_published',
'type' => 'node',
'label' => t('Change moderation state to Published'),
'label' => $this->t('Change moderation state to Published'),
'configuration' => [
'workflow' => 'editorial',
'state' => 'published',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment