dbc38d4263
improved unittest
2018-07-09 21:40:38 +02:00
c829e43725
moved get_guid to System::createGUID
2018-07-09 21:38:16 +02:00
be83696f02
Redis serialize instead of json because of objects
2018-07-08 13:35:28 +02:00
ff24d0d567
code-standards wrap operators with spaces
2018-07-07 20:51:08 +02:00
3cde7a3e4b
Fixed & added unittests
2018-07-07 20:35:42 +02:00
065b83d148
Fixed memcache & unittests
2018-07-07 20:07:07 +02:00
80a4e6263f
Added Unittests for cache
...
fixed Lock & Cache bugs
2018-07-07 19:46:16 +02:00
6ecaa5b15a
copy&paste error for memcached unittest
2018-07-07 18:12:17 +02:00
1ffe0cfd81
Added Lock Unittests & Bugfixings
...
Added Redis Lock Unittests
Added Memcached Lock Unittests
Fixed a bug in dba
Fixed a bug in RedisLock
2018-07-07 16:15:03 +02:00
Michael Vogel
3eec97aa6e
Merge pull request #5314 from MrPetovan/task/4889-fix-tests
...
Fix tests after enabling PHP Notices
2018-07-06 22:14:01 +02:00
e41e7d2edd
Fixings
...
- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
2018-07-05 20:57:31 +02:00
906bb25972
code standards / simplifications
2018-07-05 07:59:56 +02:00
Hypolite Petovan
c60d85329c
Rename language to lang in test data as well
2018-07-04 17:55:06 -04:00
aac94d1d74
Adding multihost - locking
...
Adding Unit-Tests for it
2018-07-04 23:37:22 +02:00
Hypolite Petovan
cdab9b4cd2
Add missing author-link property to testFormatItems*
2018-07-04 00:54:53 -04:00
Hypolite Petovan
3a89ab199b
Fix tests error/failures
...
- Fix undenifed index: author-network notice
- Fix assertion mismatch in testApiDirectMessagesNewWithUserId
2018-07-04 00:09:17 -04:00
Hypolite Petovan
b2b984433c
Fix dataset ids for otheruser/frienduser
...
Remove debug
2018-07-03 23:37:52 -04:00
Hypolite Petovan
675333f246
Bleh
2018-07-03 23:27:12 -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
d31e3b16ff
Fix boolean values in test data
2018-07-03 21:22:10 -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
Hypolite Petovan
39b61da05d
Fix last undefined variable/index messages in tests
2018-07-02 07:49:44 -04:00
Hypolite Petovan
f91e7c9f17
Revert using System::baseurl() for mock user nurls
2018-07-02 07:49:40 -04:00
Hypolite Petovan
18eb13a598
Fix API test cases
...
- Add meaningful app->argv/c
- Add support for subfolder install
- Add meaningful image URL from placeholder.com
- Fix incomplete test testApiHelpTestWithXml()
- Use $this->frienduser for direct messages tests
- Fix dataset to have an actual contact relationship
2018-07-02 07:49:29 -04:00
Hypolite Petovan
a380bcd1c1
Fix more undefined variable/index notice in tests
2018-07-02 07:45:25 -04:00
Hypolite Petovan
209510e970
Replace PHP_EOL with \n to conform to code behavior on Windows in tests
2018-07-02 07:45:18 -04:00
Hypolite Petovan
a329ce5b50
Fix $called_api expecting at least 2 elements in tests
2018-07-02 07:45:11 -04:00
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
2018-07-02 07:44:55 -04:00
eca43895e1
Fixing tests
2018-06-09 21:46:35 +00:00
defd3d15b6
Possibly fixed test
2018-06-09 20:39:40 +00:00
f316e96bd1
Now the dataset is said to be valid again.
2018-06-03 16:11:05 +00:00
09c1b44381
Someone else has to fix this
2018-06-03 11:42:23 +00:00
e232ccf9e0
Trying around ...
2018-06-03 11:38:03 +00:00
946bfd79ff
Just one more ...
2018-06-03 11:29:09 +00:00
9ade6c2b33
The testdata hadn't contained public contacts
2018-06-03 11:20:22 +00:00
e48b2a3dad
Reverting it ...
2018-06-03 11:12:09 +00:00
058d755372
I guess I broke the test tool :-)
2018-06-03 11:07:24 +00:00
e392491e94
Next try ;-)
2018-06-03 10:58:03 +00:00
b33578c137
Additional data for the test tool
2018-06-03 10:47:40 +00:00
28678c0fad
Reverting the last test
2018-06-03 10:22:10 +00:00
96d170c9d8
Trying to understand the test tool
2018-06-03 10:04:02 +00: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