Skip to content

Commit

Permalink
Update remaining ORM/Query tests to use fixtures.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 14, 2013
1 parent 90fcc4a commit 27c4c5f
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 120 deletions.
8 changes: 3 additions & 5 deletions lib/Cake/Test/Fixture/TagFixture.php
Expand Up @@ -36,8 +36,6 @@ class TagFixture extends TestFixture {
public $fields = array(
'id' => ['type' => 'integer'],
'name' => ['type' => 'string', 'null' => false],
'created' => 'datetime',
'updated' => 'datetime',
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
);

Expand All @@ -47,8 +45,8 @@ class TagFixture extends TestFixture {
* @var array
*/
public $records = array(
array('name' => 'tag1', 'created' => '2007-03-18 12:22:23', 'updated' => '2007-03-18 12:24:31'),
array('name' => 'tag2', 'created' => '2007-03-18 12:24:23', 'updated' => '2007-03-18 12:26:31'),
array('name' => 'tag3', 'created' => '2007-03-18 12:26:23', 'updated' => '2007-03-18 12:28:31')
array('name' => 'tag1'),
array('name' => 'tag2'),
array('name' => 'tag3')
);
}

0 comments on commit 27c4c5f

Please sign in to comment.