Skip to content

Commit

Permalink
start_year > end_year になっていたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jan 5, 2021
1 parent 63256e2 commit 12dae5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/class/SC_Date/SC_Date_getYearTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public function testGetYear_最大値が3年後の配列を返す()
public function testGetYear_最大値がメンバ変数の配列を返す()
{
$this->expected = '2020';
$this->objDate->setStartYear('2018');
$this->objDate->setEndYear('2020');
$this->actual = max($this->objDate->getYear());

Expand Down
1 change: 1 addition & 0 deletions tests/class/SC_Date/SC_Date_getZeroYearTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function testGetZeroYear_最大値が3年後の2桁表記の配列を返
public function testGetZeroYear_最大値がメンバ変数の2桁表記の配列を返す()
{
$this->expected = '20';
$this->objDate->setStartYear('2018');
$this->objDate->setEndYear('2020');
$this->actual = max($this->objDate->getZeroYear());

Expand Down

0 comments on commit 12dae5f

Please sign in to comment.