Skip to content
Permalink
Browse files

Fixed dumb mistake

  • Loading branch information...
lorenzo committed May 29, 2016
1 parent ec65adc commit 5b5a3833ed9aa7cb183ba6121a0af6bb4fe0e4cc
Showing with 4 additions and 2 deletions.
  1. +4 −2 tests/TestCase/ORM/QueryRegressionTest.php
@@ -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');

0 comments on commit 5b5a383

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