Commit Graph

31 Commits

Author SHA1 Message Date
Woody Gilk
cd767c07fa Replace all tabs with 4 spaces in test files 2014-05-31 16:30:32 -05:00
Alex Bilbie
a9ecca92fc Fixed broken test 2013-05-27 19:38:07 +01:00
Alex Bilbie
8c4019693b Updated @ziege's patch to overcome awkward access token definition requirement (i.e. access token can have a space in it) and also optimised code. Fixes #52 2013-05-10 12:57:34 -07:00
Alex Bilbie
75894fd5bc Test for getClientId 2013-05-08 18:12:18 -07:00
Alex Bilbie
f4b32a2bc6 Optimised tests by removing unused variables and adding further assertions 2013-05-08 13:34:05 -07:00
Alex Bilbie
437833cd32 Renamed AuthServer to Authorization, renamed ResourceServer to Resource. Updated all tests and other files 2013-05-08 11:42:23 -07:00
Alex Bilbie
f4b955ccff Updated tests for new namespace 2013-05-08 11:06:21 -07:00
Alex Bilbie
1ca8a4f4c3 Updated authserver tests 2013-05-06 11:09:36 -07:00
Alex Bilbie
9349425ecd Fixed ResourceServerTest.php 2013-05-06 10:28:49 -07:00
Alex Bilbie
ecf2f2b9ea Updated ResourceServerTest 2013-03-22 10:37:01 +00:00
Alex Bilbie
0f4546db47 Changed 'oauth_token' to 'access_token' 2013-02-13 17:10:44 +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
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
e99211db31 Moved require_once statement outside of setUp tests method 2013-01-02 20:13:02 +00:00
Alex Bilbie
0fcbeb8158 PSR fixes 2012-12-23 22:13:22 +00: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
8f20659f1d Check for correct exception messages 2012-08-27 15:25:59 +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