add test for id as number: The tests for NotFound (.get, .update, .patch) use a string as id. This does not work for postgres + sequelize with serial ids because sequelize throws a GeneralError with invalid input syntax for type integer: "568225fbfe21222432e836ff" which is perfectly fine. I added tests for an integer id. So every adapter can pick which tests to use.
.remove + NotFound was missing. Added it and also added .remove + NotFound (integer)
This PR adds tests to
@feathersjs/adapter-tests
:NotFound
(.get
,.update
,.patch
) use a string as id. This does not work for postgres + sequelize with serial ids because sequelize throws aGeneralError
withinvalid input syntax for type integer: "568225fbfe21222432e836ff"
which is perfectly fine. I added tests for an integer id. So every adapter can pick which tests to use..remove + NotFound
was missing. Added it and also added.remove + NotFound (integer)