Skip to content

Commit

Permalink
Attempt to fix the failing appveyor builds.
Browse files Browse the repository at this point in the history
Be more specific with the schema and record we want to load.
  • Loading branch information
markstory committed Apr 3, 2018
1 parent f5890bd commit b9b6983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Fixture/ProfilesFixture.php
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Database/QueryTest.php
Expand Up @@ -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);
Expand Down

0 comments on commit b9b6983

Please sign in to comment.