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

256 Commits

Author SHA1 Message Date
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
Cameron
93a2dde80a More tests. 2019-02-10 19:11:35 -08:00
Cameron
ca133074b8 Added E107_DBG_BASIC constant. More tests added for pdo and debug classes. 2019-02-10 19:01:09 -08:00
Cameron
17eff8de71 More PDO tests. 2019-02-10 16:19:58 -08:00
Cameron
c9981cda78 Debug test class 2019-02-10 15:26:55 -08:00
Cameron
d84c8880bd debug test class added. More pdo tests. 2019-02-10 15:02:14 -08:00
Cameron
b07b24b207 More tests 2019-02-09 15:40:26 -08:00
Cameron
2a62cbc561 connect() test. 2019-02-09 15:22:27 -08:00
Cameron
42f059556c db retrieve tests 2019-02-09 15:13:07 -08:00
Cameron
7cc8fef477 More testing in db 2019-02-09 13:08:32 -08:00
Cameron
5db55c437a synced pdo tests with mysql_class tests. 2019-02-09 12:48:50 -08:00