loopback-connector-remote/test
maxim.sharai af125c50cc
Fix duplicate definition of a remote model type
Before this commit, when a remote model had relations, the model was
registered an additional time per each relation. As a result,
the following warnings were printed to the console

   Warning: overriding remoting type $MODEL_NAME

This commit fixes registration of models with strong-remoting to avoid
those warnings.
2018-01-16 15:15:45 +01:00
..
integration Refactor tests to use local per-app model registry 2017-12-11 14:45:43 +01:00
helper.js Add eslint to npm test, fix linter issues 2017-12-11 14:51:48 +01:00
models-define-type.test.js Fix duplicate definition of a remote model type 2018-01-16 15:15:45 +01:00
models.test.js Add eslint to npm test, fix linter issues 2017-12-11 14:51:48 +01:00
remote-connector.test.js Add eslint to npm test, fix linter issues 2017-12-11 14:51:48 +01:00
remote-models.test.js Preserve related models from "include" filter 2017-12-12 09:39:37 +01:00