euromark 11 年 前
コミット
7ccfc28401
1 ファイル変更4 行追加4 行削除
  1. 4 4
      Test/Fixture/SluggedArticleFixture.php

+ 4 - 4
Test/Fixture/SluggedArticleFixture.php

@@ -17,10 +17,10 @@ class SluggedArticleFixture extends TestFixture {
  */
 	public $fields = array(
 		'id' => ['type' => 'integer'],
-		'title' => ['type' => 'string', 'length' => 255, 'null' => false],
-		'slug' => ['type' => 'string', 'length' => 245, 'null' => false],
-		'long_title' => array('type' => 'string', 'null' => false),
-		'long_slug' => array('type' => 'string', 'null' => false),
+		'title' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => ''],
+		'slug' => ['type' => 'string', 'length' => 245, 'null' => false, 'default' => ''],
+		'long_title' => array('type' => 'string', 'null' => false, 'default' => ''),
+		'long_slug' => array('type' => 'string', 'null' => false, 'default' => ''),
 		'section' => ['type' => 'integer', 'null' => true],
 		'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
 	);