Commit 7b4a2805 authored by Loparev's avatar Loparev
Browse files

Revert "Fixed tests for D9"

This reverts commit b31d03dc.
parent b31d03dc
...@@ -16,7 +16,7 @@ class TmgmtSmartlingLogSettingsTest extends BrowserTestBase { ...@@ -16,7 +16,7 @@ class TmgmtSmartlingLogSettingsTest extends BrowserTestBase {
* *
* @var array * @var array
*/ */
protected static $modules = ['tmgmt_smartling_log_settings']; public static $modules = ['tmgmt_smartling_log_settings'];
/** /**
* Default theme. * Default theme.
......
...@@ -11,7 +11,7 @@ use Drupal\KernelTests\KernelTestBase; ...@@ -11,7 +11,7 @@ use Drupal\KernelTests\KernelTestBase;
*/ */
class TmgmtSmartlingLogSettingsTest extends KernelTestBase { class TmgmtSmartlingLogSettingsTest extends KernelTestBase {
protected static $modules = ['syslog', 'syslog_test', 'tmgmt_smartling_log_settings']; public static $modules = ['syslog', 'syslog_test', 'tmgmt_smartling_log_settings'];
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -42,7 +42,7 @@ abstract class SmartlingTestBase extends TMGMTTestBase { ...@@ -42,7 +42,7 @@ abstract class SmartlingTestBase extends TMGMTTestBase {
* *
* @var array * @var array
*/ */
protected static $modules = [ public static $modules = [
'tmgmt', 'tmgmt',
'tmgmt_demo', 'tmgmt_demo',
'tmgmt_smartling', 'tmgmt_smartling',
......
...@@ -16,7 +16,7 @@ class BufferLoggerTest extends SmartlingTestBase { ...@@ -16,7 +16,7 @@ class BufferLoggerTest extends SmartlingTestBase {
protected $channel; protected $channel;
protected $logger; protected $logger;
protected static $modules = ['system']; public static $modules = ['system'];
public function setUp(): void { public function setUp(): void {
parent::setUp(); parent::setUp();
......
...@@ -12,7 +12,7 @@ use Drupal\tmgmt_smartling\Smartling\ConnectorInfo; ...@@ -12,7 +12,7 @@ use Drupal\tmgmt_smartling\Smartling\ConnectorInfo;
*/ */
class ConnectorInfoTest extends KernelTestBase { class ConnectorInfoTest extends KernelTestBase {
protected static $modules = ['system']; public static $modules = ['system'];
public function testGetLibName() { public function testGetLibName() {
$this->assertEquals(ConnectorInfo::getLibName(), 'drupal-tmgmt-connector'); $this->assertEquals(ConnectorInfo::getLibName(), 'drupal-tmgmt-connector');
......
...@@ -12,7 +12,7 @@ use Smartling\File\FileApi; ...@@ -12,7 +12,7 @@ use Smartling\File\FileApi;
*/ */
abstract class SmartlingTestBase extends TMGMTKernelTestBase { abstract class SmartlingTestBase extends TMGMTKernelTestBase {
protected static $modules = ['tmgmt_smartling', 'tmgmt_extension_suit', 'tmgmt_file', 'file']; public static $modules = ['tmgmt_smartling', 'tmgmt_extension_suit', 'tmgmt_file', 'file'];
protected $apiWrapperMock; protected $apiWrapperMock;
protected $batchApiMock; protected $batchApiMock;
......
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