1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 14:04:51 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
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
505fabb09d Sync pdo tests. 2019-02-13 15:52:13 -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
a941bee847 Ported PDO tests across to Mysql tests. 2019-02-11 16:23:24 -08:00
Cameron
7e7257d0e6 pdo tests ported over to mysql tests. 2019-02-11 15:40:58 -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
Achim Ennenbach
77a2ae1092 Added additional assertion in testDelete() 2019-02-08 21:45:01 +01:00
Achim Ennenbach
964eef125e Added additional assertion in testUpdate()
Added additional assertion in testDelete()
2019-02-08 21:27:03 +01:00
Achim Ennenbach
77374ae03c fixed typo in testUpdate()
Added additional assertion in testInsert()
2019-02-08 21:17:29 +01:00
Achim Ennenbach
92fb16fe86 fixed the assertions in e_db_mysqlTest 2019-02-08 20:53:49 +01:00
Nick L
52552cf814 Merge pull request #17 from SimSync/db_mysql_insert_update_delete
Added tests for db update, insert, delete
2019-02-06 14:04:19 -06:00
Achim Ennenbach
aed1a5ae3a Added tests for db update, insert, delete 2019-02-06 21:01:09 +01:00
Cameron
c9c6caba7f Use existing instance of database object. 2019-02-03 11:04:44 -08:00
Achim Ennenbach
de937ec842 Added tests for db update, insert, delete 2019-02-03 19:08:57 +01:00
Cameron
3d3b54e11f Added test for mysql backup 2019-01-28 18:50:27 -08:00
Cameron
36c92f893e Added some MySQL class tests. 2019-01-16 12:04:59 -08:00
Cameron
960d219766 Added test for secondary database connections 2019-01-05 14:37:58 -08:00
Cameron
8870a065b5 Form tests for renderValue method. Basic test for db_mysql class. 2018-03-10 18:18:01 -08:00