Storj/web-core — pull request #16 by androm3da (2014-09-17 18:52:50+00:00)
Title: Unit Tests

As of now, the /api/find/ test and /api/upload tests fail. But there's good coverage in the remaining tests.

I believe that /api/find fails because CloudManager.upload() calls file_database.store() with "None" for the payload field, and CloudManager.info() uses the record.payload field to decide whether or not to return the info, which is used by /find/.

I think /api/upload fails because the test doesn't decrypt the file, or provide the right key with which to decrypt.