loopback-datasource-juggler/test
Miroslav Bajtoš 9af79cf51a
Fix Operation Hooks to propagate data changes
Before this change, many Operation Hooks were not correctly propagating
changes made to `ctx.data` via reassigning ctx.data to a new object.

This change modifies existing tests to account for this different
scenario, adds few more tests for scenarios that were not covered by
tests before and finally fixes the problem discovered.
2018-06-28 12:22:16 +02:00
..
fixtures/loopback-connector-throwing Fix datasource to report connector-loading errors 2017-02-03 20:29:11 +01:00
helpers test/helpers: annotate skipped tests 2017-06-07 14:05:48 -04:00
kvao Update eslint + config to latest 2018-06-12 09:13:32 +02:00
operation-hooks.suite Upgrade eslint-config, fix new violations 2017-02-01 12:45:56 +01:00
CustomTypeForeignKey.test.js Fix manually 2016-08-22 19:20:12 -04:00
allow-extended-operators.test.js Refactor logic of options.allowExtendedOperators 2017-01-30 00:05:56 +01:00
async-observer.test.js Fix manually 2016-08-22 19:20:12 -04:00
basic-querying.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
common.batch.js Fix manually 2016-08-22 19:20:12 -04:00
common_test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
crud-with-options.test.js Fix block padding 2016-12-13 16:05:50 -08:00
datasource.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
datatype.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
date-string.test.js Add DateString type 2017-05-01 12:28:59 -04:00
default-scope.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
defaults.test.js Fix block padding 2016-12-13 16:05:50 -08:00
discovery.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
exclude-base-props.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
geo.test.js handle deep geo-near queries (#1314) 2017-04-13 17:05:05 -04:00
hooks.test.js Fix block padding 2016-12-13 16:05:50 -08:00
include.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
include_util.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
init.js Add test case for all connectors 2017-02-14 14:01:44 -05:00
introspection.test.js Fix block padding 2016-12-13 16:05:50 -08:00
json.test.js Upgrade eslint & config to latest 2016-12-05 15:14:09 +01:00
kv-memory.js Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
kvao.suite.js test/kvao: add connectorCapabilities options 2016-10-19 11:06:17 +02:00
loopback-data.test.js Fix manually 2016-08-22 19:20:12 -04:00
loopback-dl.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
manipulation.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
memory.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
mixins.test.js Fix block padding 2016-12-13 16:05:50 -08:00
mock-connectors.js Fix manually 2016-08-22 19:20:12 -04:00
model-builder.test.js Set model constructor name to model name 2018-01-08 09:37:23 +01:00
model-definition.test.js configurable model merge 2017-05-10 02:33:45 +02:00
model-inheritance.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
normalize-undefined.test.js Fix undefined properties in where 2017-08-03 14:09:21 -04:00
optional-validation.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Fix Operation Hooks to propagate data changes 2018-06-28 12:22:16 +02:00
relations.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
schema.test.js Fix block padding 2016-12-13 16:05:50 -08:00
scope.test.js Fix block padding 2016-12-13 16:05:50 -08:00
spec_helper.js Fix manually 2016-08-22 19:20:12 -04:00
test1-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
test2-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
transaction.test.js Add a better way to handle transactions 2017-09-06 07:10:57 +02:00
transient.test.js Fix block padding 2016-12-13 16:05:50 -08:00
util.test.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
validations.test.js Fix tests to ensure compatibility w/ should@10 2018-05-24 14:21:12 -07:00