Test the resource File methods.
82 passes, 1 fail, 2 exceptions, and 20 debug messages
Test XMLRPC server.
16 passes, 1 fail, 0 exceptions, and 4 debug messages
I think we should fix all tests before doing release.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-Issue-1267418-by-ygerasimov-Files-resource-check-whe.patch | 3.86 KB | ygerasimov |
Comments
Comment #1
ygerasimov commentedHere is patch to fix the tests.
XMLRPC test is simple wrong return of array instead of string being checked in test.
File resource. Because of #1083242: Fix for argument source handling in REST Server we check $file['file'] but in file resource it can be base64 encoded file. So additional check is added whether $file['file'] is array.
Comment #2
kylebrowning commentedLooks fine except why is services_test_resource.module changed?
Make a separate ticket for that as it seems unrelated, and I'm not sure why it needed to be changed.
Comment #3
kylebrowning commentedComment #4
kylebrowning commented