mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
3f70cc08b7
refs https://github.com/TryGhost/Product/issues/4196 The offers API basically returns the data you pass to it, rather than the created database record. It looks like this is how it was intended to work in the first place; the `setMilliseconds` is because the test helper expects `.000Z`, which I assume is because MySQL will strip off the milliseconds when it's saved. |
||
---|---|---|
.. | ||
Offer.test.js | ||
OfferAmount.test.js | ||
OfferCadence.test.js | ||
OfferCode.test.js | ||
OfferCurrency.test.js | ||
OfferDescription.test.js | ||
OfferDuration.test.js | ||
OfferName.test.js | ||
OfferStatus.test.js | ||
OfferTitle.test.js | ||
OfferType.test.js |