0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
kirrg001 d32cea479e Fixed incorrect test in functional/routes/api/posts_spec.js
no issue

- `post.author_id` has no reference to any table currently, see https://github.com/TryGhost/Ghost/blob/1.21.3/core/server/data/schema/schema.js#L19
- that's why it is right now possible to insert none existent author id's
- with multiple authors, this get's protected (see https://github.com/TryGhost/Ghost/pull/9426)
  - you would get a proper error message
  - it is not allowed to insert invalid author id's
  - as soon as you do `include=author` you would receive an error
- fixed one test case where we inserted an invalid author id via the API
2018-02-21 18:39:56 +01:00
..
client@1c902af744 Updated Ghost-Admin to 1.21.3 2018-02-21 08:19:52 +07:00
server Proper error handling for permissible implementations 2018-02-21 16:59:48 +01:00
test Fixed incorrect test in functional/routes/api/posts_spec.js 2018-02-21 18:39:56 +01:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00