From 75eb350c6955bc9154b58358bfc1b677827eecac Mon Sep 17 00:00:00 2001 From: camer0n Date: Mon, 13 Nov 2023 09:01:41 -0800 Subject: [PATCH] date tests. --- e107_tests/phpunit.xml | 1 + e107_tests/tests/unit/e_formTest.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_tests/phpunit.xml b/e107_tests/phpunit.xml index 7ee6e3867..d054efb5d 100644 --- a/e107_tests/phpunit.xml +++ b/e107_tests/phpunit.xml @@ -12,6 +12,7 @@ tests + ../e107_plugins diff --git a/e107_tests/tests/unit/e_formTest.php b/e107_tests/tests/unit/e_formTest.php index acfb65b04..a90fbb0bf 100644 --- a/e107_tests/tests/unit/e_formTest.php +++ b/e107_tests/tests/unit/e_formTest.php @@ -437,7 +437,7 @@ class e_formTest extends \Codeception\Test\Unit // test timezone change... date_default_timezone_set('America/Los_Angeles'); $actual = $this->_frm->datepicker('date_field',$time,'type=datetime&format=MM, dd, yyyy hh:ii'); - $expected = ""; + $expected = ""; $this->assertEquals($expected, $actual); date_default_timezone_set($prevTimeZone); @@ -1144,7 +1144,7 @@ class e_formTest extends \Codeception\Test\Unit 'file_001' => '{e_MEDIA_FILE}test.zip', 'files_001' => '
  1. {e_MEDIA_FILE}test.zip
', - 'datestamp_001' => '03 Nov 2023 : 14:47', + 'datestamp_001' => '03 Nov 2023 : 13:47', 'date_001' => '2018-08-23', 'userclass_001' => 'Everyone (public)', 'userclasses_001' => 'Everyone (public)
PRIVATEMENU',