Skip to content
Permalink
Browse files

Attempt to fix the failing appveyor builds.

Be more specific with the schema and record we want to load.
  • Loading branch information...
markstory committed Apr 3, 2018
1 parent f5890bd commit b9b6983f20c9290e4b1d30e302c687303a0afa8f
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/Fixture/ProfilesFixture.php
  2. +1 −1 tests/TestCase/Database/QueryTest.php
@@ -28,7 +28,7 @@ class ProfilesFixture extends TestFixture
* @var array
*/
public $fields = [
'id' => ['type' => 'integer'],
'id' => ['type' => 'integer', 'null' => false, 'autoIncrement' => true],
'user_id' => ['type' => 'integer', 'null' => false],
'first_name' => ['type' => 'string', 'null' => true],
'last_name' => ['type' => 'string', 'null' => true],
@@ -4590,7 +4590,7 @@ public function testCastResults()
->select(['a' => 'id'])
->from('profiles')
->setSelectTypeMap($typeMap)
->limit(1)
->where(['id' => 1])
->execute()
->fetchAll('assoc');
$this->assertSame([['id' => 1, 'user_id' => 1, 'is_active' => false, 'a' => 1]], $results);

0 comments on commit b9b6983

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