Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
tmgmt_smartling
Commits
7b4a2805
Commit
7b4a2805
authored
Aug 27, 2021
by
Loparev
Browse files
Revert "Fixed tests for D9"
This reverts commit
b31d03dc
.
parent
b31d03dc
Changes
6
Hide whitespace changes
Inline
Side-by-side
modules/tmgmt_smartling_log_settings/tests/src/Functional/TmgmtSmartlingLogSettingsTest.php
View file @
7b4a2805
...
...
@@ -16,7 +16,7 @@ class TmgmtSmartlingLogSettingsTest extends BrowserTestBase {
*
* @var array
*/
p
rotected
static
$modules
=
[
'tmgmt_smartling_log_settings'
];
p
ublic
static
$modules
=
[
'tmgmt_smartling_log_settings'
];
/**
* Default theme.
...
...
modules/tmgmt_smartling_log_settings/tests/src/Kernel/TmgmtSmartlingLogSettingsTest.php
View file @
7b4a2805
...
...
@@ -11,7 +11,7 @@ use Drupal\KernelTests\KernelTestBase;
*/
class
TmgmtSmartlingLogSettingsTest
extends
KernelTestBase
{
p
rotected
static
$modules
=
[
'syslog'
,
'syslog_test'
,
'tmgmt_smartling_log_settings'
];
p
ublic
static
$modules
=
[
'syslog'
,
'syslog_test'
,
'tmgmt_smartling_log_settings'
];
/**
* {@inheritdoc}
...
...
tests/src/Functional/SmartlingTestBase.php
View file @
7b4a2805
...
...
@@ -42,7 +42,7 @@ abstract class SmartlingTestBase extends TMGMTTestBase {
*
* @var array
*/
p
rotected
static
$modules
=
[
p
ublic
static
$modules
=
[
'tmgmt'
,
'tmgmt_demo'
,
'tmgmt_smartling'
,
...
...
tests/src/Kernel/BufferLoggerTest.php
View file @
7b4a2805
...
...
@@ -16,7 +16,7 @@ class BufferLoggerTest extends SmartlingTestBase {
protected
$channel
;
protected
$logger
;
p
rotected
static
$modules
=
[
'system'
];
p
ublic
static
$modules
=
[
'system'
];
public
function
setUp
():
void
{
parent
::
setUp
();
...
...
tests/src/Kernel/ConnectorInfoTest.php
View file @
7b4a2805
...
...
@@ -12,7 +12,7 @@ use Drupal\tmgmt_smartling\Smartling\ConnectorInfo;
*/
class
ConnectorInfoTest
extends
KernelTestBase
{
p
rotected
static
$modules
=
[
'system'
];
p
ublic
static
$modules
=
[
'system'
];
public
function
testGetLibName
()
{
$this
->
assertEquals
(
ConnectorInfo
::
getLibName
(),
'drupal-tmgmt-connector'
);
...
...
tests/src/Kernel/SmartlingTestBase.php
View file @
7b4a2805
...
...
@@ -12,7 +12,7 @@ use Smartling\File\FileApi;
*/
abstract
class
SmartlingTestBase
extends
TMGMTKernelTestBase
{
p
rotected
static
$modules
=
[
'tmgmt_smartling'
,
'tmgmt_extension_suit'
,
'tmgmt_file'
,
'file'
];
p
ublic
static
$modules
=
[
'tmgmt_smartling'
,
'tmgmt_extension_suit'
,
'tmgmt_file'
,
'file'
];
protected
$apiWrapperMock
;
protected
$batchApiMock
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment