1
0
Fork 0
Commit Graph

42 Commits

Author SHA1 Message Date
Alan Plum 398a868ea6 Add support for joi options. Fixes #1425. 2015-08-11 16:12:11 +02:00
Alan Plum fa552c3a52 Removed stray type option from session tests. 2015-08-05 14:07:14 +02:00
Willi Goesgens b4675448c2 remove stray test of removed foxx-feature. 2015-08-05 09:48:08 +02:00
Alan Plum 9f31b0eb57 Removed session opts.type from test. 2015-08-04 21:13:21 +02:00
Alan Plum 2a17f87e38 Removed Foxx JWT tests. 2015-08-04 21:08:22 +02:00
Alan Plum 72fefa71fc 400 -> 422 2015-07-30 19:00:25 +02:00
Alan Plum a4af1dc2e2 sessionStorageApp -> sessionStorage 2015-06-17 18:59:03 +02:00
Alan Plum ba4e8166ce Oops. 2015-06-04 01:17:54 +02:00
Alan Plum f61671ded5 Fixed validation error detection. 2015-06-04 00:58:38 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Michael Hackstein bd2dde17da Fixed unittest for foxx. It still compated a generated token with the name of the parameter 2015-03-16 10:37:35 +01:00
Michael Hackstein 0dc6be351c Fixed tests for non overwriting version of swagger documentation 2015-03-13 14:16:11 +01:00
Michael Hackstein df046a8091 added tests for foxx-controller extensions
Conflicts:
	js/server/tests/shell-foxx.js
2015-02-24 17:37:05 +01:00
Michael Hackstein ab5fbb66e0 Fixed server side foxx tests. They had to be adapted to new routing info computation 2015-02-16 14:13:10 +01:00
Willi Goesgens 28c828762c Merge branch 'devel' of github.com:arangodb/arangodb into devel
Conflicts:
	js/server/tests/shell-foxx.js
2015-02-05 19:34:32 +01:00
Willi Goesgens 59892c2b20 Lintify unittests. 2015-02-05 19:32:51 +01:00
Alan Plum 4741b8707c Removed obsolete tests for legacy foxx behaviour. 2015-02-05 18:48:45 +01:00
Alan Plum 75cf182de2 Allow RequestContext#bodyParam to take joi schemas and reject invalid data. 2015-01-07 11:21:19 +01:00
Alan Plum 2b569e5db2 Ported legacy Foxx syntax to 2.4+. 2015-01-06 20:37:18 +01:00
Willi Goesgens 016c8e477b Remove debug prints 2014-12-17 13:32:34 +01:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Alan Plum e04cfebfe2 Added tests and docs for param shorthand syntax, allow passing 'allowMultiple' via joi.meta, fixed joi.required/optional being ignored. 2014-09-16 11:33:35 +02:00
Alan Plum e2c4a62ff7 Cleaned up FoxxController#activateSessions. 2014-09-04 22:30:39 +02:00
Alan Plum 39ba358cd8 Added JWT support for session headers. 2014-09-04 18:51:06 +02:00
Alan Plum 7a43e3df14 Fixed failing session test. 2014-09-04 18:35:13 +02:00
Alan Plum 0d653ca67a Implemented activateSessions. 2014-08-20 10:57:06 +02:00
Alan Plum facd7dc515 Fixed #961. Undocumented bodies should never throw. 2014-07-24 11:22:30 +02:00
Alan Plum f44d319f3e Added tests. 2014-07-09 13:09:16 +02:00
Alan Plum 7887f1b282 Added tests. 2014-07-09 12:40:05 +02:00
Jan Steemann eae94f97a8 removed dead code 2014-07-02 00:21:58 +02:00
Lucas Dohmen f6b7bb23a0 Remove the stub and mock module
This is now inside of shell-foxx until it has been converted to
Jasmine
2014-06-20 16:40:34 +02:00
Alan Plum 40f3e268dd Adjusted injector naming. 2014-06-18 11:09:40 +02:00
Alan Plum 282be72c5c Implemented controller dependency injection. 2014-06-18 01:17:10 +02:00
Lucas Dohmen 87987b7a14 Merge pull request #897 from pluma/foxx-context-collection-method
Added `collection` method to Foxx applicationContext
2014-06-12 16:41:50 +02:00
Alan Plum 475daa1ed2 Removed tests for deprecated code. 2014-06-12 15:54:27 +02:00
Lucas Dohmen c0bfeee04e Test multiple element functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 89e9205b7c Test multiple items functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 6d0d3565fa Foxx: Adjust fakeContext to feature the manifest element 2014-06-12 15:02:47 +02:00
Lucas Dohmen cec32b981a Adjust tests to @fceller's bug fix 2014-06-12 14:24:50 +02:00
Jan Steemann 4a99cde395 jslintified several tests 2014-02-01 01:50:58 +01:00
Jan Steemann 44b3237882 moved server-only tests to js/server/tests
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work

make logfile path accessible
2013-12-04 22:05:00 +01:00