Skip to content

Commit

Permalink
Fixed dumb mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 29, 2016
1 parent ec65adc commit 5b5a383
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/TestCase/ORM/QueryRegressionTest.php
Expand Up @@ -551,11 +551,13 @@ public function testDeepBelongsToManySubqueryStrategy2()
*/
public function testDeepHasManyEitherStrategy()
{
$this->loadFixtures('Tags', 'FeaturedTags', 'TagsTranslations');
$tags = TableRegistry::get('Tags');

$this->skipIf(
$this->connection->driver() instanceof \Cake\Database\Driver\Sqlserver,
$tags->connection()->driver() instanceof \Cake\Database\Driver\Sqlserver,
'SQL server is temporarily weird in this test, will investigate later'
);
$this->loadFixtures('Tags', 'FeaturedTags', 'TagsTranslations');
$tags = TableRegistry::get('Tags');
$featuredTags = TableRegistry::get('FeaturedTags');
$featuredTags->belongsTo('Tags');
Expand Down

0 comments on commit 5b5a383

Please sign in to comment.