Skip to content

Instantly share code, notes, and snippets.

@gintsgints
Created August 8, 2015 10:17
Show Gist options
  • Select an option

  • Save gintsgints/b65ec177f998f42fe8a1 to your computer and use it in GitHub Desktop.

Select an option

Save gintsgints/b65ec177f998f42fe8a1 to your computer and use it in GitHub Desktop.
$ make test-unit-oracle
make[1]: Entering directory '/home/gpolis/sequelize'
./node_modules/.bin/mocha --globals setImmediate,clearImmediate --ui tdd --check-leaks --colors -t 15000 --reporter spec ./test/unit/*.js ./test/unit/**/validation.test.js
Using database: sequelize-test-62
[ORACLE] InstanceValidator
datatype validations
should throw validationerror
update
Run: ===== SELECT VERSION FROM PRODUCT_COMPONENT_VERSION GROUP BY VERSION=====
Got error: Error: ORA-00942: table or view does not exist
With sql: ===== UPDATE "users" SET "age"='jan',"updatedAt"='2015-08-08 10:11:21.000 +00:00'=====end of code
1) should throw when passing string
0 passing (109ms)
1 failing
1) [ORACLE] InstanceValidator datatype validations should throw validationerror update should throw when passing string:
AssertionError: expected promise to be rejected with 'SequelizeValidationError' but it was rejected with [Error: ORA-00942: table or view does not exist]
From previous event:
at Promise.then (C:\CygWin\home\gpolis\sequelize\lib\promise.js:21:17)
at Context.<anonymous> (C:\CygWin\home\gpolis\sequelize\test\unit\model\validation.test.js:293:36)
Makefile:25: recipe for target 'test-unit' failed
make[1]: *** [test-unit] Error 1
make[1]: Leaving directory '/home/gpolis/sequelize'
Makefile:30: recipe for target 'test-unit-oracle' failed
make: *** [test-unit-oracle] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment