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

Commit 50732e49 by Mick Hansen

fix test expectations for sqlite and mssql

1 parent 825eb75f
...@@ -85,8 +85,9 @@ ...@@ -85,8 +85,9 @@
"main": "index", "main": "index",
"scripts": { "scripts": {
"test": "make all", "test": "make all",
"test-docker": "sudo docker-compose run sequelize /bin/sh -c \"make all\"", "test-docker": "docker-compose run sequelize /bin/sh -c \"make all\"",
"build-docker": "sudo docker-compose build", "test-docker-unit": "docker-compose run sequelize /bin/sh -c \"make test-unit-all\"",
"build-docker": "docker-compose build",
"docs": "node docs/docs-generator.js" "docs": "node docs/docs-generator.js"
}, },
"engines": { "engines": {
......
...@@ -99,7 +99,9 @@ suite(Support.getTestDialectTeaser('SQL'), function() { ...@@ -99,7 +99,9 @@ suite(Support.getTestDialectTeaser('SQL'), function() {
] ]
}).include[0] }).include[0]
}, { }, {
default: "INNER JOIN [company] AS [Company] ON [User].[company_id] = [Company].[id] OR [Company].[public] = true" default: "INNER JOIN [company] AS [Company] ON [User].[company_id] = [Company].[id] OR [Company].[public] = true",
sqlite: "INNER JOIN `company` AS `Company` ON `User`.`company_id` = `Company`.`id` OR `Company`.`public` = 1",
mssql: "INNER JOIN [company] AS [Company] ON [User].[company_id] = [Company].[id] OR [Company].[public] = 1",
}); });
testsql({ testsql({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!