Skip to content

Commit b393463

Browse files
committed
Fixed failing insert-test for or mssql.
1 parent 0bbe361 commit b393463

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/dialects/insert-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ Harness.test({
402402
string: 'INSERT INTO `post` (`userId`) SELECT `post`.`userId` FROM `user` INNER JOIN `post` ON (`user`.`id` = `post`.`userId`) WHERE (`post`.`tags` LIKE \'A%\')'
403403
},
404404
mssql: {
405-
text : 'INSERT INTO [post] ([userId]) SELECT [post].[userId] FROM [user] WHERE ([user].[name] LIKE @1)',
406-
string: 'INSERT INTO [post] ([userId]) SELECT [post].[userId] FROM [user] WHERE ([user].[name] LIKE \'A%\')'
405+
text : 'INSERT INTO [post] ([userId]) SELECT [post].[userId] FROM [user] INNER JOIN [post] ON ([user].[id] = [post].[userId]) WHERE ([post].[tags] LIKE @1)',
406+
string: 'INSERT INTO [post] ([userId]) SELECT [post].[userId] FROM [user] INNER JOIN [post] ON ([user].[id] = [post].[userId]) WHERE ([post].[tags] LIKE \'A%\')'
407407
},
408408
params: ['A%']
409409
});

0 commit comments

Comments
 (0)