Skip to content

Commit

Permalink
Increased test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
topaz2 committed Aug 10, 2015
1 parent dccbce3 commit 6a58854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public function saveByFrameId($frameId, $block = null) {
$block['Block']['room_id'] = $frame['Frame']['room_id'];
$block['Block']['language_id'] = $frame['Frame']['language_id'];
}
$block['Block']['name'] = '新しいブロック ' . date('Ymd');

//blocksの登録
if (! $block = $this->save($block, false)) {
Expand Down

0 comments on commit 6a58854

Please sign in to comment.