Ghost/core/test/functional/api/v0.1
Rishabh Garg c638863cb9 Updated webhooks schema and add relation (#10018)
* Extended webhooks schema/model and connected with integrations

refs #9942

- Updated webhooks schema with new columns - name, integration_id, secret, last_triggered_at, api_version
- Updated webhooks and integration model to map relationships
- Updated schema hash
- Updated test utils to exclude new webhooks columns for response comparison

* Added migration script for new webhooks columns

refs #9942

- Added migration script in 2.3 to add new columns to webhooks

* Updated schema hash

* Updated maxLength for api_version in schema

* Removed concurrency value from migration script

* Added defaults for webhooks model

* Added status field to webhooks for last trigger status

* Updated schema hash

* Fixed tests with status field

* Removed concurrency value in migration script

* Cleanup

* Updated schema with new fields

 - last_triggered_status, last_triggered_error
2018-10-17 18:17:13 +07:00
..
authentication_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
configuration_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
db_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
error_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
invites_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
notifications_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
oembed_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
posts_spec.js Reduced some functional tests 2018-10-07 21:14:00 +02:00
public_api_spec.js 🐛 Fixed 'url' attribute miscalculation when when requested as the only part of fields filter (#9969) 2018-10-15 14:47:56 +02:00
redirects_spec.js Reduced some functional tests 2018-10-07 21:14:00 +02:00
roles_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
schedules_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
settings_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
slugs_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
spam_prevention_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
subscribers_spec.js Added test coverage for subscriber controller API v0.1 2018-10-12 22:27:37 +02:00
tags_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
themes_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
upload_icon_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
upload_spec.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
users_spec.js Moved toJSON call to api v0.1 controller for ownership transfer 2018-10-12 18:12:16 +02:00
utils.js Optimised test folder structure (#9958) 2018-10-07 16:36:02 +02:00
webhooks_spec.js Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00