Skip to content

Commit

Permalink
Fixing tests in sqlserver
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 23, 2016
1 parent e4ffac7 commit 1cca232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Database/QueryTest.php
Expand Up @@ -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
);
Expand All @@ -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
);
Expand Down

0 comments on commit 1cca232

Please sign in to comment.