Cameron
40f6c66923
Merge branch 'master' of https://github.com/e107inc/e107-test
2019-02-03 15:35:52 -08:00
Cameron
4b5b053a3d
More db_verify tests.
2019-02-03 15:35:17 -08:00
Deltik
61cffd7395
Merge branch 'SimSync-check_is_utf8_fill_phrases_array'
2019-02-03 13:45:03 -06:00
Deltik
2f10ffbc8e
Merge branch 'check_is_utf8_fill_phrases_array' of https://github.com/SimSync/e107-test into SimSync-check_is_utf8_fill_phrases_array
2019-02-03 13:44:37 -06:00
Cameron
c9c6caba7f
Use existing instance of database object.
2019-02-03 11:04:44 -08:00
Cameron
1ec80dc28c
Merge pull request #16 from SimSync/db_mysql_insert_update_delete
...
Added tests for db update, insert, delete
2019-02-03 10:59:18 -08:00
Achim Ennenbach
de937ec842
Added tests for db update, insert, delete
2019-02-03 19:08:57 +01:00
Achim Ennenbach
78d3e22de0
Added tests for is_utf8() and fill_phrases_array()
2019-02-03 18:11:39 +01:00
Cameron
178f1cb3f6
Added extra check for 'news' on isInstalled() test.
2019-01-31 15:41:45 -08:00
Cameron
90a7ac7020
Online class test added.
2019-01-31 14:04:59 -08:00
Cameron
b830aeae91
Test added for getCountry()
2019-01-31 13:37:20 -08:00
Cameron
cc8b641072
dbverify test for json field added.
2019-01-30 12:43:15 -08:00
Cameron
9d817a9cc9
lancheck test placeholder added.
2019-01-30 12:30:28 -08:00
Cameron
3d3b54e11f
Added test for mysql backup
2019-01-28 18:50:27 -08:00
Cameron
ccab9960bf
theme class test added for getThemeLayout().
2019-01-24 11:41:10 -08:00
Cameron
602dc4f939
XML tests added.
2019-01-24 09:15:19 -08:00
Cameron
36c92f893e
Added some MySQL class tests.
2019-01-16 12:04:59 -08:00
Cameron
a429bc13f8
computeLapse test updated.
2019-01-15 20:31:08 -08:00
Cameron
8f73232a4d
Tests for global LAN file detection.
2019-01-13 13:32:58 -08:00
Cameron
43bcfdee16
More tests.
2019-01-11 11:57:43 -08:00
Cameron
2e60a2bd31
Base64 test against ajax url added.
2019-01-07 17:04:02 -08:00
Cameron
960d219766
Added test for secondary database connections
2019-01-05 14:37:58 -08:00
Deltik
2a029220a7
cPanelDeployer: Preserve file permissions in ZipArchive
...
Reference: https://stackoverflow.com/a/53997599/1038828
2019-01-01 11:48:10 -06:00
Cameron
1b5182d011
buildAddonPrefLists test added.
2018-12-17 10:39:19 -08:00
Deltik
ffd27d2d80
Deactivated "stash" lock in GitPreparer
...
The "stash" lock was used to shove .gitignore'd files under the rug
so that they would not interfere with a pure copy of the app.
Vendor files may be ignored in the app, so for performance, the
"stash" lock has been deactivated. Vendor files no longer need to
be downloaded each time the test runs.
The "commit" lock now includes all ignored files so that tests
are run with the files as they are.
2018-11-19 15:14:34 -06:00
Cameron
5c3e14f8d1
XML Class import/export method tests and e107::serialize() test.
2018-11-15 14:24:47 -08:00
Cameron
99772ae134
TinyMce parser tests for backward compatibility with BBcodes and plain text.
2018-11-13 13:32:26 -08:00
Deltik
48654804bd
e_parse::parseTemplate() behavior clarification
...
New tests cover the behavior described in
https://github.com/e107inc/e107/issues/3547
2018-11-09 16:52:37 -06:00
Deltik
eec2feb8b3
pluginsTest::testBanner() e_parse cases
...
See https://github.com/e107inc/e107/issues/3547 for details.
2018-11-08 21:05:24 -06:00
Cameron
e9e9f6288e
Added placeholder test for Media-Manager upload processing.
2018-11-03 12:59:06 -07:00
Nick Liu
9e0d603609
100% test coverage for \e107\Shims
...
New test forces a failover of the `readfile()` internal function to
test the failover functionality of \e107\Shims\Internal::readfile()
2018-11-03 09:11:42 -05:00
Nick Liu
7c2b4f8f25
Reload e_shortcode_parser for pluginsTest::testBanner()
...
e_shortcode_parser normally doesn't need reloading in an e107
installation because installing the "banner" plugin and parsing
shortcodes have always been two separate script calls (page loads).
It would slow down the e107 core to add an e_shortcode_parser reloader
after installing a plugin when the page would later exit without
parsing any shortcodes.
2018-11-02 12:49:24 -05:00
Nick Liu
f27636ff14
Fixed race condition in e_parseTest::testToForm()
...
Other tests have been meddling with the e107::wysiwyg() global state
e_parseTest::testToForm() now considers two outcomes of the
e107::wysiwyg() state.
2018-11-01 19:31:04 -05:00
Nick Liu
556aea02ea
Removed Internet dependency from pluginsTest::testRemotePlugin()
2018-11-01 19:12:11 -05:00
Nick Liu
b9f794b1a9
Disregard race condition by increasing tolerance in e107pluginTest
...
e107pluginTest::testXmlSiteLinks() ignores the primary key and model
order because another test could have inserted records before this test.
2018-11-01 19:09:48 -05:00
Nick Liu
aa458ee7d3
Explicit timezone settings in e_DateTest and e_formTest
2018-11-01 18:49:20 -05:00
Nick Liu
9e6bb14641
Removed Internet dependency from e_marketplaceTest
2018-11-01 18:48:06 -05:00
Nick Liu
da8a2015aa
Consistency fix for e_formTest
2018-11-01 14:33:43 -05:00
Nick Liu
1fc01e08f0
Fixed rollback bug in GitPreparer
...
Added a guard to GitPreparer::unsetVcsInProgress() to prevent doing a
`git reset` when there are no test locks present.
Otherwise, the uncommitted changes in the app will be removed by the
shutdown feature introduced in 952c6e5890daa36236be675d8c4f21cecabc1fe7.
2018-11-01 09:32:43 -05:00
Nick Liu
93d8b7f0c5
General repo cleanup
...
Removed unused includes/bootstrap.php
Made a new e107 sample database dump
2018-11-01 07:20:11 -05:00
Nick Liu
952c6e5890
PriorityCallbacks: Execute callbacks before Codeception's
...
GitPreparer now registers a "priority" register_shutdown_function
callback in order to clean up in case of a fatal error.
2018-11-01 06:57:38 -05:00
Nick Liu
6f416523c3
Renamed e_shims to eShims
...
To follow @myovchev's convention like eHelper
Per @CaMer0n
2018-10-31 12:27:45 -05:00
Nick Liu
f145622207
Added tests for e_shims
2018-10-31 08:06:42 -05:00
Cameron
10a21270f4
Comment added for date lapse issue.
2018-10-04 15:54:28 -07:00
Cameron
871a0f4da3
Basic test for {e_BASE} added.
2018-10-02 11:51:47 -07:00
Nick Liu
e9f89cede6
InstallCest now clears the database
...
InstallCest now drops all tables from the test database before running
each test.
Fixes : #13
2018-09-30 14:06:19 -05:00
Nick Liu
c512dc2fcc
Started but couldn't test e_parse_shortcode
2018-09-27 11:32:06 -05:00
Nick Liu
9125b60b59
Added performance test for e_form::inlineToken()
2018-09-23 15:39:37 -05:00
Nick Liu
6f8d6fff5b
Reindented tests/unit/e_formTest.php
2018-09-23 15:26:49 -05:00
Cameron
d622aa28a5
Test for XMLSiteLinks
2018-09-18 09:38:59 -07:00