1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-08 22:52:31 +02:00

60 Commits

Author SHA1 Message Date
Nick Liu
5a031fc836
Merge branch 'master' of https://github.com/e107inc/e107-test 2018-06-22 13:46:11 -05:00
Nick Liu
38101a756a
TreeModelTest: Tried varying a primary key value 2018-06-22 13:41:44 -05:00
Deltik
e6a098cc33
C locale applied to all of e_dateTest 2018-06-09 22:34:49 -05:00
Cameron
f8d74ce2e5 Form select() and option() tests. 2018-06-08 18:55:42 -07:00
Cameron
68444cdee0 db_verify test placeholders added. 2018-06-07 14:45:19 -07:00
Cameron
a63b555fd2 Comment out incomplete tests. 2018-05-25 08:52:24 -07:00
Cameron
3e19cca607 Merge branch 'master' of https://github.com/e107inc/e107-test 2018-05-25 08:49:12 -07:00
Cameron
f120fbac7e datepicker test update 2018-05-25 08:48:45 -07:00
Deltik
3a05a1d829
Merge branch 'master' of github.com:e107inc/e107-test 2018-05-24 19:43:12 -05:00
Deltik
c0cc29d830
C locale in e_dateTest::testConvert_date()
Standardized locale in e_dateTest::testConvert_date()
2018-05-24 19:43:04 -05:00
Nick L
b545736083
Merge pull request #5 from SimSync/master
Updated testStrptime() to match the result of strptime on linux.
2018-05-24 20:18:14 +00:00
Achim Ennenbach
fc0e302013 Updated testStrptime() to match the result of strptime on linux.
Should also run fine on windows with the updated e_date::strptime() function.
2018-05-24 22:04:57 +02:00
Cameron
f81fd805a9 additional date mask checks. 2018-05-24 11:50:13 -07:00
Cameron
6fe881a94f Tests added for e_form renderElement() 2018-05-23 18:50:01 -07:00
Achim Ennenbach
000d649102 fixed wrong expected value 2018-05-15 22:53:27 +02:00
Achim Ennenbach
d8d77583fd remaining e_date tests 2018-05-15 22:31:49 +02:00
Achim Ennenbach
49e0b25b07 first few tests testToTime() still fails. Needs investigation 2018-05-13 20:21:25 +02:00
Cameron
f07f4dc416 Codeception sample added.
date class test added.
2018-05-11 15:01:18 -07:00
Cameron
f165fe0f21 parser test added 2018-03-10 19:17:47 -08:00
Cameron
8870a065b5 Form tests for renderValue method. Basic test for db_mysql class. 2018-03-10 18:18:01 -08:00
Cameron
3ddf17de3f Admin login and signup simulation tests added. 2018-03-08 17:49:37 -08:00
Deltik
6cc7c97bfa
Updated TreeModelTest to care more about results
… rather than implementation
2018-03-06 23:13:01 -06:00
Cameron
d5e5504d57 Updated toDate() test. 2018-03-04 15:30:46 -08:00
Cameron
d657a29c6f Added e_parser unit test script. Test added for toDate() method. 2018-02-24 15:18:58 -08:00
Cameron
e95c5daabc admin-ui test template file added. 2018-02-23 14:35:42 -08:00
Cameron
e6ef6210cf Merge branch 'master' of https://github.com/e107inc/e107-test 2018-02-23 14:25:40 -08:00
Cameron
0e05f4db6a Added e107_class.php test file. 2018-02-23 14:25:30 -08:00
Deltik
986b4a63ba
Test e_tree_model::multiFieldCmp()
Relates to: 840859a32f5e7c6d579f1b643e99ed30d30d1fd7
2018-02-23 15:51:20 -06:00
Deltik
8b07f620f1
Reworked E107Base::cleanVCS() to use proc_open()
Maybe works on Windows now?

Author doesn't know; author coded this on Linux.
2018-02-20 21:05:18 -06:00
Deltik
7553ce1857
Fixed regression from 9563f8f
Don't _reconfigure() if no deployer active
2018-02-20 17:31:39 -06:00
Deltik
63386970d6
Test environment consistency fixes
git-clean in E107Base now runs first in _beforeSuite() so that tainted
files are not uploaded in Acceptance tests

E107Base::revokeLocalE107Config() now checks for file existence before
unlinking. XXX: Could remove this method if cleanVCS() proves reliable

Acceptance won't try to write an e107_config.php because the tests
themselves populate the configuration file
2018-02-20 14:36:24 -06:00
Deltik
5ce007e07b
Merge branch 'master' of github.com:e107inc/e107-test 2018-02-20 13:29:37 -06:00
Deltik
9563f8f797
Fixed bug: _reconfigure()'d modules forgot config
Apparently, reconfiguring only applies to one test. This commit makes
all tests' modules reconfigured.

Introduced command to clean local app repo

InstallCest actually installs e107 now
2018-02-20 13:23:39 -06:00
Cameron
4cc6fa8d41 Merge branch 'master' of https://github.com/e107inc/e107-test 2018-02-19 13:49:14 -08:00
Cameron
0ec35cdf6c Quick tests for e_MEDIA_BASE and e_SYSTEM_BASE added. Disabled creation of e107_config.php (will halt installation test if found) 2018-02-19 13:48:45 -08:00
Deltik
ec262c8fed
Fixed indentation in some files 2018-02-19 15:19:56 -06:00
Deltik
eed4b6b10e
Reenforced proper module access
\Helper\DelayedDb public methods shouldn't be used as Actor methods
2018-02-19 15:17:31 -06:00
Cameron
b9ddda1909 Merge branch 'master' of https://github.com/CaMer0n/phpunit 2018-02-17 16:29:18 -08:00
Cameron
edf296c940 additional install steps added. 2018-02-17 16:28:57 -08:00
Deltik
e25fdbf8ad
Removed extraneous Db::_loadDump() 2018-02-17 04:11:26 -06:00
Cameron
84207d069b Merge branch 'master' of https://github.com/CaMer0n/phpunit 2018-02-16 15:42:39 -08:00
Cameron
38dd581c20 start of step 2 2018-02-16 15:42:29 -08:00
Deltik
e485b16d65
APP_PATH is now customizable in config.yml
Configuration option is "app_path" (string)
2018-02-16 17:32:07 -06:00
Cameron
1d5a70ab4b Install Step1-to-Step2 test. 2018-02-16 13:34:08 -08:00
Deltik
10019cec74
Better local env config to avoid VCS conflicts
Local environments can now be configured with ./config.yml with a sample
configuration available in ./config.sample.yml
2018-02-16 07:04:03 -06:00
Deltik
ccb108d098
Tests for e_tree_model::prepareSimulatedPagination
https://github.com/e107inc/e107/issues/3034
2018-02-15 14:21:50 -06:00
Deltik
dbaa444977
Generated e107_config.php supports remote SQL 2018-02-15 06:00:07 -06:00
Deltik
a18ca98f9a
_beforeSuite() of modules called in \Helper\Base
f080402675b6aebe4a73bba3ed1a82461d737239 only works when a Deployer is
active, but local developers would not be using a Deployer.

For some reason (still unknown), the Codeception framework doesn't
execute _beforeSuite() for all the active modules, so \Helper\Base has
been coded to pick up the slack.

Actually fixes: #1
2018-02-15 05:35:47 -06:00
Deltik
f080402675
Reconfigured modules now run _beforeSuite()
Platform-independent SQL dump importing works now because
Helper\DelayedDb is now running _beforeSuite() after being reconfigured.

Fixes: #1
2018-02-14 13:43:24 -06:00
Deltik
d0acabcbe5
Added code coverage support and a unit test 2018-02-13 07:53:31 -06:00