-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVideoSettingFixture.php
More file actions
46 lines (42 loc) · 947 Bytes
/
VideoSettingFixture.php
File metadata and controls
46 lines (42 loc) · 947 Bytes
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
<?php
/**
* VideoSettingFixture
*
* @author Mitsuru Mutaguchi <mutaguchi@opensource-workshop.jp>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
/**
* VideoSettingFixture
*
* @author Mitsuru Mutaguchi <mutaguchi@opensource-workshop.jp>
* @package NetCommons\Videos\Test\Fixture
*/
class VideoSettingFixture extends CakeTestFixture {
/**
* Records
*
* @var array
*/
public $records = array(
array(
'block_key' => 'block_1',
'total_size' => '0',
),
array(
'block_key' => 'block_2',
'total_size' => '0',
),
);
/**
* Initialize the fixture.
*
* @return void
*/
public function init() {
require_once App::pluginPath('Videos') . 'Config' . DS . 'Schema' . DS . 'schema.php';
$this->fields = (new VideosSchema())->tables[Inflector::tableize($this->name)];
parent::init();
}
}