Commit b31d03dc authored by Loparev's avatar Loparev
Browse files

Fixed tests for D9

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