Commit Graph

347 Commits

Author SHA1 Message Date
Alex Bilbie
e86d5cb3f1 Broke up grants into their own tests 2013-02-13 20:12:51 +00:00
Alex Bilbie
0f4546db47 Changed 'oauth_token' to 'access_token' 2013-02-13 17:10:44 +00:00
Alex Bilbie
a361fbab14 Finished unit tests for AuthServer 2013-02-12 16:45:45 +00:00
Alex Bilbie
e76111c2b7 Fixed silliness with access token verification 2013-02-08 11:45:51 +00:00
Alex Bilbie
60b2caf41d Various fixes and tweaks 2013-02-08 11:40:33 +00:00
Alex Bilbie
49e0088f72 Removed old unit tests 2013-02-05 16:26:55 +00:00
Alex Bilbie
37331c4dc8 Added resource server tests 2013-02-05 16:20:56 +00:00
Alex Bilbie
f481a9baeb Bug fix 2013-02-05 15:59:44 +00:00
Alex Bilbie
e903cbee68 Update request class namespace 2013-02-05 15:55:38 +00:00
Alex Bilbie
463803f74d Added client credentials grant function 2013-02-05 14:48:10 +00:00
Alex Bilbie
14a7142ad7 Lots more tests 2013-02-05 10:07:45 +00:00
Alex Bilbie
81f3dc9a2b Added new auth server unit tests 2013-02-04 19:46:37 +00:00
Alex Bilbie
c7e9235db3 Added util unit tests 2013-02-04 19:46:29 +00:00
Alex Bilbie
2f010584ef Removed old auth server unit tests 2013-02-04 19:46:21 +00:00
Daniel Horrigan
c12472857b Changed Case of Oauth2 namespace to OAuth2 namespace 2013-01-08 16:35:29 -05:00
Alex Bilbie
5f1779c4e7 Autoload dependencies with autoloader in bootstrap.php 2013-01-02 22:32:49 +00:00
Alex Bilbie
1069507ab4 Revert require_once statements 2013-01-02 21:13:32 +00:00
Alex Bilbie
943fc1cc82 Possible fix for Travis? 2013-01-02 20:34:09 +00:00
Alex Bilbie
a158883aed Another attempt to fix paths for travis 2013-01-02 20:32:38 +00:00
Alex Bilbie
8aba2b29b8 Better travis debugging 2013-01-02 20:24:45 +00:00
Alex Bilbie
b5e8f9206b Fool. 2013-01-02 20:21:25 +00:00
Alex Bilbie
755a753cb5 Test include path on travis 2013-01-02 20:19:26 +00:00
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