* @author Shohei Nakajima * @link http://www.netcommons.org NetCommons Project * @license http://www.netcommons.org/license.txt NetCommons License * @copyright Copyright 2014, NetCommons Project */ /** * TopicFramesPluginFixture * * @author Shohei Nakajima * @package NetCommons\Topics\Test\Fixture */ class TopicFramesPluginFixture extends CakeTestFixture { /** * Records * * @var array */ public $records = array( array( 'id' => '3', 'frame_key' => 'frame_3', 'plugin_key' => 'Lorem ipsum dolor sit amet', 'created_user' => '1', 'created' => '2016-05-02 06:25:24', 'modified_user' => '1', 'modified' => '2016-05-02 06:25:24' ), ); /** * 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(); } }