-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTopicFrameSettingFixture.php
More file actions
65 lines (61 loc) · 1.88 KB
/
TopicFrameSettingFixture.php
File metadata and controls
65 lines (61 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* TopicFrameSettingFixture
*
* @author Noriko Arai <arai@nii.ac.jp>
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
/**
* TopicFrameSettingFixture
*
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @package NetCommons\Topics\Test\Fixture
*/
class TopicFrameSettingFixture extends CakeTestFixture {
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => '3',
'frame_key' => 'frame_3',
'display_type' => '1',
'unit_type' => '1',
'display_days' => '1',
'display_number' => '1',
'display_title' => '1',
'display_summary' => '1',
'display_room_name' => '1',
'display_category_name' => '1',
'display_plugin_name' => '1',
'display_created_user' => '1',
'display_created' => '1',
'use_rss_feed' => '1',
'select_room' => '1',
'select_block' => '1',
'select_plugin' => '1',
'show_my_room' => '1',
'feed_title' => 'Lorem ipsum dolor sit amet',
'feed_summary' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
'created_user' => '1',
'created' => '2016-09-07 03:55:31',
'modified_user' => '1',
'modified' => '2016-09-07 03:55:31'
),
);
/**
* Initialize the fixture.
*
* @return void
*/
public function init() {
require_once App::pluginPath('Topics') . 'Config' . DS . 'Schema' . DS . 'schema.php';
$this->fields = (new TopicsSchema())->tables[Inflector::tableize($this->name)];
parent::init();
}
}