Arthur Schiwon
3338a0f236
port of #9500
...
don't trigger update from checkPassword, it is already called by userExists, this is enough.
do not write to database when the value is the same
add test cases. also split test classes in a file each, looks like only the first class is being executed
also appconfig shall not write to database if the value is unchanged
2014-07-08 16:32:01 +02:00
Bjoern Schiessle
2d83424a29
allow to set pre-condition for setValue
2014-06-05 16:54:03 +02:00
Joas Schilling
d493c0c9ac
Sort the result before comparing
2014-06-05 15:21:53 +02:00
Joas Schilling
879237f32a
Add method to get users by their preference
2014-06-05 11:50:43 +02:00
Joas Schilling
d621a6fe5e
Clean the database after the test
2014-05-21 16:00:21 +02:00
Joas Schilling
66f94273c6
Add a lot of users for testing
2014-05-21 13:17:29 +02:00
Joas Schilling
457a4aa425
Add test case for getValueForUsers()
2014-05-21 11:36:01 +02:00
Robin Appelman
b6f44e9a1d
Add caching to OC\Preferences
2014-02-18 11:21:39 +01:00
Andreas Fischer
4bc2a22317
Remove all uses of numRows().
2013-12-21 19:56:14 +01:00
Bart Visscher
445d34a2a9
Convert OC_Preference to object interface
2013-09-19 18:13:06 +02:00
kondou
6c78152564
Proper WHERE – the table is called userid not user
2013-08-06 17:31:50 +02:00
kondou
b8bfebe51e
Use setUpBeforeClass() and tearDownAfterClass()
2013-08-06 17:26:12 +02:00
kondou
b560bb21f0
Clean up DB, after we're done with testing
2013-08-06 17:01:01 +02:00
kondou
a51af39595
Add unittests
...
Unittests for:
- search/result
- util
- preferences
2013-08-05 14:47:14 +02:00