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

This change has been marked as submitted.


Review request for Bodega.
By Antonis Tsiapaliokas.

Updated July 26, 2013, 9:26 a.m.

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?
Bugs: 320545

Diffs

  • server/lib/db/purchaseAsset.js (2613615)
  • server/test/purchase.js (PRE-CREATION)
  • server/test/support/utils.js (f4d5313)

View Diff