Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2

sudo: false
dist: trusty

env:
matrix:
Expand Down
80 changes: 80 additions & 0 deletions Test/Fixture/FramesLanguage4iframesFixture.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?php
/**
* FramesLanguageFixture
*
* @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
*/

App::uses('FramesLanguageFixture', 'Frames.Test/Fixture');

/**
* FramesLanguageFixture
*
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @package NetCommons\Blocks\Test\Fixture
*/
class FramesLanguage4iframesFixture extends FramesLanguageFixture {

/**
* Model name
*
* @var string
*/
public $name = 'FramesLanguage';

/**
* Full Table Name
*
* @var string
*/
public $table = 'frames_languages';

/**
* Records
*
* @var array
*/
public $records = array(
//メイン
array(
'id' => '6',
'language_id' => '2',
'frame_id' => '6',
'name' => 'Test frame main',
'is_origin' => true,
'is_translation' => false,
'is_original_copy' => false,
),
array(
'id' => '7',
'language_id' => '2',
'frame_id' => '7',
'name' => 'Test frame main',
'is_origin' => true,
'is_translation' => false,
'is_original_copy' => false,
),
array(
'id' => '8',
'language_id' => '2',
'frame_id' => '8',
'name' => 'Test frame main',
'is_origin' => true,
'is_translation' => false,
'is_original_copy' => false,
),
);

/**
* Initialize the fixture.
*
* @return void
*/
public function init() {
parent::init();
}

}
1 change: 1 addition & 0 deletions TestSuite/IframesControllerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ abstract class IframesControllerTestCase extends NetCommonsControllerTestCase {
'plugin.iframes.iframe_frame_setting',
'plugin.iframes.frame4iframes',
'plugin.iframes.frame_public_language4iframes',
'plugin.iframes.frames_language4iframes',
);

/**
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/logs/clover"/>
</logging>
</phpunit>