1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-12 23:09:15 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Vincent Petry
0b5fb1bfc7 Fix to make it compatible with Sabre 2.1
Also fixed unit tests so they run but some still fail

- Added IUserSession mock
- Replaced OCP::getUser() with IUserSession usage to make the mock work
- Added base class for test cases
2015-03-17 12:53:05 +01:00
LEDfan
e40104f6e1 Merge pull request #578 from owncloud/fix-search-master
adding first unit test for search of address book provider
2014-12-05 07:47:07 +01:00
Bernhard Reiter
2db4e3b4e7 Fix Addressbook::childExists($id).
Return false instead of throwing an exception if there's no child with $id.
Also, add a test for that function.
2014-10-01 21:06:57 +02:00
Thomas Müller
504418dc00 adding first unit test for search of address book provider 2014-08-05 22:20:50 +02:00
Thomas Tanghus
748aa3dfc6 Add visibility to test methods 2014-03-10 16:39:42 +01:00
Thomas Tanghus
1afddaa98e Finally actually implement the interfaces I claim to.
\Iterator, \Countable, \ArrayAccess

Still need some checks to assure validity after unset()
2014-03-10 15:16:15 +01:00
Thomas Tanghus
4a67ad28ca Improved unit tests and adjust backend method signatures. 2013-08-26 20:10:29 +02:00