Review Request 111162: Bodega-server: Add a test for puchasing an asset

Antonis Tsiapaliokas kok3rs at gmail.com
Thu Jul 25 07:34:27 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111162/
-----------------------------------------------------------

(Updated July 25, 2013, 7:34 a.m.)


Review request for Bodega.


Changes
-------

Make the patch work with the latest changes from master


Description
-------

The test should check for the following:
    
* purchasing an asset the account does not have enough points for
* purchase an asset the account does have enough points for
* downloading the asset that was purchased
* downloading an asset that costs points that was not purchased
* downloading a free asset

Things that are missing:

* confirm points are properly distributed between store and asset owners
* confirm download records are correct


How can we verify the two above which are missing from the test?


This addresses bug 320545.
    http://bugs.kde.org/show_bug.cgi?id=320545


Diffs (updated)
-----

  server/lib/db/purchaseAsset.js 2613615 
  server/test/purchase.js PRE-CREATION 
  server/test/support/http.js 84a5fee 
  sql/testdata.sql d151c17 

Diff: http://git.reviewboard.kde.org/r/111162/diff/


Testing
-------


Thanks,

Antonis Tsiapaliokas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/active/attachments/20130725/33e9e0c6/attachment-0001.html>


More information about the Active mailing list