1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-05 05:02:44 +02:00

266 Commits

Author SHA1 Message Date
Cameron
1229f1e5c1 db_Query tests for BIND etc. 2019-02-21 18:19:28 -08:00
Cameron
4630c6478f Added plugin cache test. Removed 'thing' folders automatically after testing. 2019-02-20 13:33:02 -08:00
Cameron
2e6fe30ae6 basic class2 tests added for common functions. 2019-02-19 11:26:51 -08:00
Cameron
010784d371 Fix for Make clickable test. 2019-02-19 11:06:05 -08:00
Cameron
d3da2c061a Placeholder for e_user_model test 2019-02-19 10:29:59 -08:00
Cameron
d71c20cb38 New test placeholders. 2019-02-19 10:15:26 -08:00
Cameron
917f486d18 Enhanced max() test. 2019-02-18 12:55:33 -08:00
Cameron
de6cb22225 Extra tests for copyRow on tables with unique fields. 2019-02-16 12:52:07 -08:00
Cameron
76924393b8 Date test terms() 2019-02-16 10:53:41 -08:00
Cameron
63dfdd32ff isBbcode and isHtml() tests 2019-02-14 14:58:11 -08:00
Cameron
cdd164a7c7 pdo class 2019-02-14 13:50:53 -08:00
Cameron
0a820075c5 Merge branch 'master' of https://github.com/e107inc/e107-test 2019-02-13 21:28:37 -08:00
Cameron
28eadab73d enable debug on insert test. 2019-02-13 21:28:26 -08:00
Deltik
d4d631f7a5
Removed var_dump() that may have been committed by accident 2019-02-13 22:03:16 -06:00
Deltik
c4cbb19749
Improved determinism of cloned testDb_Select_gen() tests
If either e_db_mysqlTest's or e_db_pdoTest's testDb_Select_gen() method
gets called before the other, the second won't update and will return 0
instead of the expected 1.

The UPDATE query is unique for each test now so that this cannot happen
anymore.
2019-02-13 21:31:28 -06:00
Cameron
c1a0d63abc fields() 2019-02-13 16:28:19 -08:00
Cameron
6c2c9babce Max fix 2019-02-13 16:21:01 -08:00
Cameron
56051cf0cc Fix for max() 2019-02-13 16:07:43 -08:00
Cameron
505fabb09d Sync pdo tests. 2019-02-13 15:52:13 -08:00
Cameron
e99ff91381 max() test. 2019-02-13 14:02:40 -08:00
Cameron
7f7b503c24 Fixes 2019-02-13 13:54:46 -08:00
Cameron
a83f82d09c Retrieve fetch only with index. 2019-02-13 12:12:41 -08:00
Cameron
f1551a4613 escape test. 2019-02-13 11:48:56 -08:00
Cameron
c4d47c4e03 Added debug mode to test, but it causes test to hang. 2019-02-13 11:44:13 -08:00
Cameron
eb9ed77b0f tables with invalid value 2019-02-13 11:39:13 -08:00
Cameron
edbb0a6ee2 select and insert tests. 2019-02-13 11:36:21 -08:00
Cameron
6988be9779 retrieve, select, count assertions 2019-02-13 11:13:24 -08:00
Cameron
f645d0cbac Removed LEGACY check from tests. 2019-02-13 10:51:57 -08:00
Cameron
aa83639c4e Disabled legacy mode fetch test. 2019-02-13 10:40:01 -08:00
Deltik
a82ffc4adb
Increased reliability of unit tests running in shuffle mode
Which means decreasing the dependence of tests on the results of
previous tests

In codeception.yml, settings.shuffle = true
2019-02-12 23:52:40 -06:00
Cameron
c9d9c71835 Extra check on hasLanguage() and in backup() 2019-02-12 12:28:43 -08:00
Cameron
8bb6c442a2 Fix for copyRow 2019-02-12 12:04:18 -08:00
Cameron
cc1493833d Merge branch 'master' of https://github.com/e107inc/e107-test 2019-02-12 11:58:28 -08:00
Cameron
4ad79e3de0 Updated to pass. 2019-02-12 11:58:02 -08:00
Deltik
d69217d6f0
Un-hard-coded database name and table prefix in e_db_pdoTest
Also corrected a typo that switched an expected and actual
assertion arguments.
2019-02-11 21:56:44 -06:00
Cameron
2465b0d16b PDO copyRow and backup 2019-02-11 17:54:43 -08:00
Cameron
6e558efcf0 columnCount test 2019-02-11 17:33:50 -08:00
Cameron
c7efb447e7 Extra retrieve assertions. 2019-02-11 17:15:34 -08:00
Cameron
f54feed09b PDO tests 2019-02-11 16:57:11 -08:00
Cameron
3786ced51f expand on copyRow and copyTable tests. 2019-02-11 16:30:54 -08:00
Cameron
a941bee847 Ported PDO tests across to Mysql tests. 2019-02-11 16:23:24 -08:00
Cameron
ae9a890a38 testDb_IsLang(), testGetLastQuery(), testGetFieldDefs() added. 2019-02-11 16:17:59 -08:00
Cameron
7e7257d0e6 pdo tests ported over to mysql tests. 2019-02-11 15:40:58 -08:00
Cameron
722c90a8ed PDO tests. 2019-02-11 14:28:47 -08:00
Cameron
759cf6f190 More test for legacy fetch 2019-02-11 12:20:30 -08:00
Cameron
1407fca8a7 db_Select_gen() test. 2019-02-11 12:10:13 -08:00
Cameron
d90b3f3db6 More PDO tests. 2019-02-11 12:05:19 -08:00
Cameron
b4efb3a0e8 db_Fetch() tests. 2019-02-11 11:47:51 -08:00
Cameron
360b6a15b0 Whitelist specific folders for coverage. More PDO tests. 2019-02-11 11:34:58 -08:00
Cameron
c8df79ea01 More tests 2019-02-10 19:19:38 -08:00