不要怂,就是干,撸起袖子干!

Commit 39aafb51 by Michael Kearns

query-interface tests make stronger assertions

* all tests covering functionality which modifies schema
  now verify that the schema has actually changed, instead of
  just verifying against the number of logs output
* remove assertions against sql count in query-interface.test
* remove unused rawSelect against table in test

Fixes required for new query-interface tests for PG / MySQL / MariaDB

* PG: changing a column to DataTypes.FLOAT results in it being stored (and
  returned as) 'DOUBLE PRECISION'
* ensure that test schema is torn down after each test, to avoid tests
  interacting with each other
* remove unneeded calls to dropAllSchemas in query-interface.test.js
  - this is done in the afterEach call now
* MySQL/MariaDB: we have to change our expectation depending on the
  dialect, as the DataTypes names are too inconsistent
1 parent 53a03c7d
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!