Ghost/ghost/offers/test/lib/domain/models
Jono M 3f70cc08b7
Fixed create offer API not returning created_at (#19143)
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.
2023-11-28 15:11:35 +00:00
..
Offer.test.js Fixed create offer API not returning created_at (#19143) 2023-11-28 15:11:35 +00:00
OfferAmount.test.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferCadence.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCode.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferCurrency.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDescription.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferDuration.test.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30
OfferName.test.js Required OfferName to be a maximum of 40 characters 2021-11-25 12:34:33 +02:00
OfferStatus.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferTitle.test.js Added initial tests for Offers 2021-11-07 23:10:10 +02:00
OfferType.test.js Updated offers setup to allow trial values 2022-08-11 11:04:39 +05:30