million-views / praas

Proxy as a service.
MIT License
4 stars 2 forks source link

crud-server, test: implement for `PUT` method #137

Closed shinenelson closed 4 years ago

shinenelson commented 4 years ago

also move the definition of dotEnvValues globally so that they can be accessed from all the tests globally

I'm only expecting the response from the PUT request. I'm not making an extra GET request to the server and then expecting like in the other tests. I'm assuming the intention there was to confirm whether the change was reflected to the database; but I think that is redundant. the response from the server should be accurate and align with the database record which it does anyway.

closes #97