| [ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 99 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
fetch_imagetoken_test:: (7 methods):
setUp()
getUri()
fetchResponse()
test_valid_token()
test_invalid_token()
test_missing_token()
test_no_token_required()
Class: fetch_imagetoken_test - X-Ref
| setUp() X-Ref |
| No description |
| getUri() X-Ref |
| No description |
| fetchResponse($token) X-Ref |
| No description |
| test_valid_token() X-Ref |
| modified image request with valid token expect: header with mime-type expect: content expect: no error response |
| test_invalid_token() X-Ref |
| modified image request with invalid token expect: 412 status code |
| test_missing_token() X-Ref |
| modified image request with no token expect: 412 status code |
| test_no_token_required() X-Ref |
| native image request which doesn't require a token try: with a token & without a token expect: (for both) header with mime-type, content matching source image filesize & no error response |