Skip to content
Permalink
Browse files

Fixing tests in sqlserver

  • Loading branch information...
lorenzo committed Feb 23, 2016
1 parent e4ffac7 commit 1cca232d755a402a9e0547d96d12a9908b3f7ee3
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Database/QueryTest.php
@@ -3651,7 +3651,7 @@ public function testInsertModifiers()
->values(['title' => 'foo'])
->modifier('IGNORE');
$this->assertQuotedQuery(
'INSERT IGNORE INTO <articles> \(<title>\) VALUES \(:c0\)',
'INSERT IGNORE INTO <articles> \(<title>\) VALUES \(:c0\)( OUTPUT INSERTED\.\*)?',
$result->sql(),
!$this->autoQuote
);
@@ -3663,7 +3663,7 @@ public function testInsertModifiers()
->values(['title' => 'foo'])
->modifier(['IGNORE', 'LOW_PRIORITY']);
$this->assertQuotedQuery(
'INSERT IGNORE LOW_PRIORITY INTO <articles> \(<title>\) VALUES \(:c0\)',
'INSERT IGNORE LOW_PRIORITY INTO <articles> \(<title>\) VALUES \(:c0\)( OUTPUT INSERTED\.\*)?',
$result->sql(),
!$this->autoQuote
);

0 comments on commit 1cca232

Please sign in to comment.
You can’t perform that action at this time.