Commit graph

26 commits

Author SHA1 Message Date
Philipp Holzer
5ab115598c
Code Standards 2018-10-22 21:11:09 +02:00
Philipp Holzer
d28424ddce
Code standards 2018-10-22 21:10:31 +02:00
Philipp Holzer
4a82708cbf
Fix Testing 2018-10-22 20:59:51 +02:00
Philipp Holzer
cbb9a2e8b7
Fix Testing 2018-10-22 20:23:06 +02:00
Philipp Holzer
8cc15fd2a8
Bugfixing DatabaseTest 2018-10-10 00:20:08 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Philipp Holzer
a2fb49a2b4
Removing debugging echo
Updating Tests
2018-10-06 19:11:00 +02:00
Hypolite Petovan
5f48b98505 Skip DB tests if MYSQL_* environment variables are missing 2018-08-04 16:35:31 +02:00
Hypolite Petovan
cdd8e4fd9d Rename DBA::get_db to DBA::getConnection
- Rename DBA::$db to DBA::$connection
2018-07-22 19:28:29 -04:00
Hypolite Petovan
af6dbc654f Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a Update use statement lists with new Friendica\Database\dba class
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Hypolite Petovan
3433c22116 Remove .htconfig.php reference from DatabaseTest 2018-07-16 19:38:15 -04:00
Hypolite Petovan
5196ea22ff Fix Database connexion in tests 2018-07-16 19:38:15 -04:00
Hypolite Petovan
3e9ff5ef6e Move debug 2018-07-03 23:20:33 -04:00
Hypolite Petovan
8ad41d4f15 Add debug to database test 2018-07-03 23:14:03 -04:00
Hypolite Petovan
b256f5cf2c Fix missing env variable replacement 2018-07-03 22:46:45 -04:00
Hypolite Petovan
40d911c284 Use correct App mode to disable logging
- Restore normal mode after DBStructure update
- Improve error message in case of missing DB connection
2018-07-03 21:24:16 -04:00
Hypolite Petovan
125f7beb63 Add creation/deletion of separate .htconfig.php used for tests 2018-07-03 21:22:50 -04:00
Hypolite Petovan
eaa3e4d157 Use MYSQL_* environment variables for tests
- Prevent `.htconfig.php` override when present during tests.
2018-07-03 08:26:44 -04:00
Hypolite Petovan
4752ea1374 Add .htconfig.php in test setUp 2018-07-03 00:02:02 -04:00
Hypolite Petovan
9cce1f70f9 Add .htconfig.php in test setUp 2018-07-02 23:10:33 -04:00
Pierre Rudloff
e7fceb8e61 Make DatabaseTest::getConnection() return the correct database name to PHPUnit 2018-05-16 13:15:28 +02:00
Pierre Rudloff
f3ca3b2bd5 Add some explanation in DatabaseTest::getConnection() 2018-05-16 13:14:50 +02:00
Pierre Rudloff
f7064be41f Remove useless line breaks in DatabaseTest 2018-05-16 13:09:05 +02:00
Pierre Rudloff
5ece452a32 Remove unused class import in DatabaseTest 2018-05-16 13:08:17 +02:00
Pierre Rudloff
3195d6e125 Add API tests 2018-05-10 19:12:00 +02:00