Commit e40e5081 authored by Loparev's avatar Loparev
Browse files

Fixed test

parent e1de943a
...@@ -7,6 +7,7 @@ use Drupal\Core\Database\Database; ...@@ -7,6 +7,7 @@ use Drupal\Core\Database\Database;
use Drupal\Core\Database\SchemaObjectExistsException; use Drupal\Core\Database\SchemaObjectExistsException;
use Drupal\Core\Queue\DatabaseQueue; use Drupal\Core\Queue\DatabaseQueue;
use Drupal\node\Entity\Node; use Drupal\node\Entity\Node;
use Drupal\tmgmt\Entity\Translator;
use Smartling\Jobs\JobStatus; use Smartling\Jobs\JobStatus;
/** /**
...@@ -114,7 +115,7 @@ class LoggingTest extends SmartlingTestBase { ...@@ -114,7 +115,7 @@ class LoggingTest extends SmartlingTestBase {
]); ]);
// Create a job. It is needed for test. // Create a job. It is needed for test.
$translator = $this->setUpSmartlingProviderSettings($this->smartlingPluginProviderSettings); $translator = Translator::load('smartling');
$this->requestTranslationForNode($this->testNodeId, 'de', $translator); $this->requestTranslationForNode($this->testNodeId, 'de', $translator);
// Clean log messages after job submission. // Clean log messages after job submission.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment