loopback-datasource-juggler/test
CerealGuy 662458dc2c Fix validateNumericality, nullCheck & add tests
validateNumericality didn't test if attributes value is a number
only if it's type is number.
Further nullCheck had a wrong testing order. It first checked if
value is null, later if blank. Also null check only used two equals,
not three. We don't use blank() anymore, testing if variable is
undefined should be fine too.
Added tests covering validateNumericality.
2016-10-15 10:59:22 +02:00
..
helpers Fix manually 2016-08-22 19:20:12 -04:00
kvao Add missing "done" arg in test/kvao/ttl.suite 2016-09-08 10:22:27 +02:00
operation-hooks.suite Fix manually 2016-08-22 19:20:12 -04:00
.eslintrc Add eslint as "npm run lint" and "posttest" hook 2016-04-05 15:25:34 +02:00
CustomTypeForeignKey.test.js Fix manually 2016-08-22 19:20:12 -04:00
async-observer.test.js Fix manually 2016-08-22 19:20:12 -04:00
basic-querying.test.js Add ilike and nilike operators 2016-10-12 18:31:31 -06:00
common.batch.js Fix manually 2016-08-22 19:20:12 -04:00
common_test.js Fix manually 2016-08-22 19:20:12 -04:00
crud-with-options.test.js Fix manually 2016-08-22 19:20:12 -04:00
datasource.test.js Fix manually 2016-08-22 19:20:12 -04:00
datatype.test.js Strict mode now always return validationError 2016-09-19 10:27:24 -04:00
default-scope.test.js Fix manually 2016-08-22 19:20:12 -04:00
defaults.test.js Fix manually 2016-08-22 19:20:12 -04:00
discovery.test.js Fix manually 2016-08-22 19:20:12 -04:00
geo.test.js Fix manually 2016-08-22 19:20:12 -04:00
hooks.test.js Fix manually 2016-08-22 19:20:12 -04:00
include.test.js Fix BSON Object ID errors for CI 2016-09-08 13:16:55 -07:00
include_util.test.js Fix manually 2016-08-22 19:20:12 -04:00
init.js Add ilike and nilike operators 2016-10-12 18:31:31 -06:00
introspection.test.js Fix manually 2016-08-22 19:20:12 -04:00
json.test.js Fix manually 2016-08-22 19:20:12 -04:00
kv-memory.js Fix manually 2016-08-22 19:20:12 -04:00
kvao.suite.js Implement KeyValue API and memory connector 2016-08-08 10:15:34 +02:00
loopback-data.test.js Fix manually 2016-08-22 19:20:12 -04:00
loopback-dl.test.js Strict mode now always return validationError 2016-09-19 10:27:24 -04:00
manipulation.test.js Add code review fixups 2016-09-22 16:15:32 -07:00
memory.test.js Add 'isNewInstance' for updateAttributes 2016-09-19 16:56:15 -04:00
mixins.test.js Fix manually 2016-08-22 19:20:12 -04:00
mock-connectors.js Fix manually 2016-08-22 19:20:12 -04:00
model-definition.test.js Fix manually 2016-08-22 19:20:12 -04:00
optional-validation.test.js Fix manually 2016-08-22 19:20:12 -04:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Add test for operation hooks 2016-10-14 09:23:26 -04:00
relations.test.js Fix CI Failures in MySQL 2016-09-26 20:27:33 -04:00
schema.test.js Fix manually 2016-08-22 19:20:12 -04:00
scope.test.js Fix manually 2016-08-22 19:20:12 -04: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
transient.test.js Fix manually 2016-08-22 19:20:12 -04:00
util.test.js Fix manually 2016-08-22 19:20:12 -04:00
validations.test.js Fix validateNumericality, nullCheck & add tests 2016-10-15 10:59:22 +02:00