Commit 5566cdfa authored by Loparev's avatar Loparev
Browse files

Fixed functional tests: wrong date in date fields

parent 591a224b
......@@ -129,7 +129,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -218,7 +218,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => '',
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -245,7 +245,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => $existing_job_name,
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -258,7 +258,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => $existing_job_name,
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -421,7 +421,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -463,7 +463,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -517,7 +517,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -585,7 +585,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -665,7 +665,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[switcher]' => TMGMT_SMARTLING_ADD_TO_JOB,
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2020-12-12',
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2120-12-12',
'settings[add_to_job_tab][container][job_info][due_date][time]' => '12:12',
'settings[add_to_job_tab][container][job_info][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -707,7 +707,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[switcher]' => TMGMT_SMARTLING_ADD_TO_JOB,
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2020-12-12',
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2120-12-12',
'settings[add_to_job_tab][container][job_info][due_date][time]' => '12:12',
'settings[add_to_job_tab][container][job_info][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -763,7 +763,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[switcher]' => TMGMT_SMARTLING_ADD_TO_JOB,
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2020-12-12',
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2120-12-12',
'settings[add_to_job_tab][container][job_info][due_date][time]' => '12:12',
'settings[add_to_job_tab][container][job_info][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -831,7 +831,7 @@ class JobsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[switcher]' => TMGMT_SMARTLING_ADD_TO_JOB,
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2020-12-12',
'settings[add_to_job_tab][container][job_info][due_date][date]' => '2120-12-12',
'settings[add_to_job_tab][container][job_info][due_date][time]' => '12:12',
'settings[add_to_job_tab][container][job_info][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......
......@@ -56,7 +56,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'fr',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test FR ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -69,7 +69,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test DE ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -138,7 +138,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'fr',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test FR ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -151,7 +151,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test DE ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -203,7 +203,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'fr',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test FR ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......@@ -216,7 +216,7 @@ class LockFieldsTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test DE ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......
......@@ -66,7 +66,7 @@ class LoggingTest extends SmartlingTestBase {
$this->drupalPostForm(NULL, [
'target_language' => 'de',
'settings[create_new_job_tab][name]' => 'Drupal TMGMT connector test ' . mt_rand(),
'settings[create_new_job_tab][due_date][date]' => '2020-12-12',
'settings[create_new_job_tab][due_date][date]' => '2120-12-12',
'settings[create_new_job_tab][due_date][time]' => '12:12:12',
'settings[create_new_job_tab][authorize]' => TRUE,
'settings[smartling_users_time_zone]' => 'Europe/Kiev',
......
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