Browse Source

Skip test on php versions it fails on.

Hopefully this makes the builds green on travis.
Mark Story 10 years ago
parent
commit
706262565f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/TestCase/Database/QueryTest.php

+ 1 - 0
tests/TestCase/Database/QueryTest.php

@@ -259,6 +259,7 @@ class QueryTest extends TestCase
      */
     public function testSelectAliasedJoins()
     {
+        $this->skipIf(version_compare(PHP_VERSION, '5.6.0', '<'), 'This test fails on travis for older PHP.');
         $query = new Query($this->connection);
         $result = $query
             ->select(['title', 'name'])