Commit Graph

198 Commits

Author SHA1 Message Date
Alex Bilbie
7a4aece507 Stylistic fix 2012-08-27 15:25:28 +01:00
Alex Bilbie
b7d73accdc Removed old die statement 2012-08-27 15:25:14 +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
3642b8432e PHPCS fixes 2012-08-27 14:25:24 +01:00
Alex Bilbie
e191566260 Fixed errors with handling database calls 2012-08-27 14:25:18 +01:00
Alex Bilbie
95931abd6b Spelling fix 2012-08-27 14:24:43 +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
00562858f9 Excluded Composer autoload 2012-08-27 14:23:26 +01:00
Alex Bilbie
9e01157324 Updated .gitignore 2012-08-24 12:26:13 +01:00
Alex Bilbie
465c1c6ab2 Wrapped getallheaders() method in function_exists (function isn't available on command line) 2012-08-24 12:25:31 +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
829735aeeb Update .gitignore 2012-08-24 12:23:04 +01:00
Alex Bilbie
e8962f543d Merge branch 'refs/heads/feature/resource' into develop 2012-08-24 12:21:30 +01:00
Alex Bilbie
2c3e842702 Updated .gitignore 2012-08-24 12:21:11 +01:00
Alex Bilbie
f53f6ca609 Added .gitignore 2012-08-24 12:19:31 +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
78424ce100 Added resource server test suite 2012-08-23 12:21:59 +01:00
Alex Bilbie
326e96cc17 Bug fix in dbcall 2012-08-20 15:49:57 +01:00
Alex Bilbie
6fdb6177bc Lots of fixes 2012-08-20 15:09:33 +01:00
Alex Bilbie
ed3238b862 Fixed constance letter casing 2012-08-20 14:19:33 +01:00
Alex Bilbie
9933bde7d8 Merge branch 'develop' of github.com:lncd/OAuth2 into develop 2012-08-15 11:08:43 +01:00
Alex Bilbie
519d20f0a5 Changed indent to spaces 2012-08-14 16:34:43 +01:00
Alex Bilbie
e859f435a1 Added docblocks for the database interface 2012-08-14 16:28:40 +01:00
Alex Bilbie
77ce18df56 Added the resource server database interface 2012-08-14 15:46:58 +01:00
Alex Bilbie
8720de48de Initial update with some PSR-* changes 2012-08-14 15:44:25 +01:00
Alex Bilbie
176c678c23 Don't remove composer.json and vendor dir 2012-08-06 16:13:27 +01:00
Alex Bilbie
d743412cf7 Trying to get phpunit to log somewhere sensible 2012-08-06 16:10:22 +01:00
Alex Bilbie
1a925788e6 Fix for phpunit log paths 2012-08-06 16:06:03 +01:00
Alex Bilbie
095ea72b62 Added composer install 2012-08-06 15:57:57 +01:00
Alex Bilbie
9aa8f86f3a Remove the composer.lock file and the vendor folder 2012-08-06 15:53:10 +01:00
Alex Bilbie
7c7dfec4c4 Execute the local phpunit 2012-08-06 15:48:33 +01:00
Alex Bilbie
30ef11c1d7 ALL OF THE TESTS! 2012-08-06 15:32:35 +01:00
Alex Bilbie
a9e816f336 Updated name of project and build location 2012-08-06 15:32:25 +01:00
Alex Bilbie
7705805568 build sh tool location fix 2012-08-06 15:32:11 +01:00
Alex Bilbie
95068c5176 Lots of fixes following errors found from unit tests 2012-08-06 14:42:58 +01:00
Alex Bilbie
983c1faf0a Updated build.xml to run PHPUnit 2012-08-06 14:42:18 +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
a5f019ad19 Call database methods via the dbcall() method 2012-08-06 10:59:20 +01:00
Alex Bilbie
c17cd7b1cc Fixed variable reference bug 2012-08-04 09:12:12 +01:00
Alex Bilbie
bfab30061e Spacing fix 2012-08-04 09:11:39 +01:00
Alex Bilbie
b67a804e19 Removed old test/index.php 2012-08-03 16:13:23 +01:00
Alex Bilbie
0748ba379b test executable 2012-08-01 17:15:48 +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
Alex Bilbie
9935cc5d21 JSON error fix 2012-08-01 15:44:03 +01:00