Commit Graph

375 Commits

Author SHA1 Message Date
Alex Bilbie
e99211db31 Moved require_once statement outside of setUp tests method 2013-01-02 20:13:02 +00:00
Alex Bilbie
94945ec49e Added support for refresh tokens, user credentials and client credentials grant. 100% unit test code coverage for authentication. Fixes #2 2013-01-02 19:14:22 +00:00
Alex Bilbie
0fcbeb8158 PSR fixes 2012-12-23 22:13:22 +00:00
Alex Bilbie
6eeb7e13e4 Updated unit tests 2012-12-23 22:11:33 +00:00
Alex Bilbie
38c50c00b0 PSR fixes 2012-12-23 21:39:42 +00:00
Alex Bilbie
df85c98e53 PSR fixes 2012-12-23 21:36:30 +00:00
Alex Bilbie
21f48c0491 Spacing updates 2012-11-20 15:26:04 +00:00
Alex Bilbie
3c2720ece4 Renamed exceptions
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-09-19 19:52:52 +01:00
Alex Bilbie
9844613b2d Fixed test checks
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-09-19 19:34:05 +01:00
Alex Bilbie
b485f15e83 Fixed reference to renamed methods and properties 2012-08-27 16:02:35 +01:00
Alex Bilbie
8f20659f1d Check for correct exception messages 2012-08-27 15:25:59 +01:00
Alex Bilbie
7341d5ddc8 Moaaaare tests! 2012-08-27 15:25:41 +01:00
Alex Bilbie
5da9088410 Assert that mock database objects are proper instances of their interfaces 2012-08-27 14:43:12 +01:00
Alex Bilbie
337b2e0a92 Marked test_init_header as incomplete 2012-08-27 14:32:06 +01:00
Alex Bilbie
3ab511f2f7 Spacing fix 2012-08-27 14:24:32 +01:00
Alex Bilbie
3e7b471e75 Lots of beautiful tests 2012-08-27 14:23:50 +01:00
Alex Bilbie
87ec05dba6 Corrected namespace 2012-08-24 12:24:55 +01:00
Alex Bilbie
b987c71820 Renamed test classes 2012-08-24 12:23:16 +01:00
Alex Bilbie
81a7322933 Started resource server unit tests
TODO: authentication header test
2012-08-23 12:22:39 +01:00
Alex Bilbie
66ee8df5b1 Added database mock for resource tests 2012-08-23 12:22:16 +01:00
Alex Bilbie
30ef11c1d7 ALL OF THE TESTS! 2012-08-06 15:32:35 +01:00
Alex Bilbie
7ea3a045cd Moved the phpunit.xml config file to the build folder 2012-08-06 14:42:02 +01:00
Alex Bilbie
2e315fc257 New tests 2012-08-06 10:59:36 +01:00
Alex Bilbie
1409df6eb4 Started adding tests for auth server 2012-08-01 17:15:29 +01:00
Alex Bilbie
d0bb79bd7c Added phpunit.xml 2012-08-01 17:15:16 +01:00