浏览代码

missing fixture

euromark 13 年之前
父节点
当前提交
db4cf983e6
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      Test/Fixture/JsonableCommentFixture.php

+ 15 - 0
Test/Fixture/JsonableCommentFixture.php

@@ -0,0 +1,15 @@
+<?php
+
+class JsonableCommentFixture extends CakeTestFixture {
+
+	public $fields = array(
+		'id'		=> array('type' => 'integer', 'key' => 'primary'),
+		'comment'		=> array('type' => 'string', 'length' => 255, 'null' => false),
+		'url'		=> array('type' => 'string', 'length' => 255, 'null' => false),
+		'title'		=> array('type' => 'string', 'length' => 255, 'null' => false),
+		'details'		=> array('type' => 'string', 'length' => 255, 'null' => false)
+	);
+
+	public $records = array(
+	);
+}