From 12dae5f5bc40316e09be137e1d2972257bb08a22 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Tue, 5 Jan 2021 17:28:20 +0900 Subject: [PATCH] =?UTF-8?q?start=5Fyear=20>=20end=5Fyear=20=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/class/SC_Date/SC_Date_getYearTest.php | 1 + tests/class/SC_Date/SC_Date_getZeroYearTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/class/SC_Date/SC_Date_getYearTest.php b/tests/class/SC_Date/SC_Date_getYearTest.php index 9cefa8b223..77d5667484 100644 --- a/tests/class/SC_Date/SC_Date_getYearTest.php +++ b/tests/class/SC_Date/SC_Date_getYearTest.php @@ -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()); diff --git a/tests/class/SC_Date/SC_Date_getZeroYearTest.php b/tests/class/SC_Date/SC_Date_getZeroYearTest.php index 50c1563833..e12cc20cb2 100644 --- a/tests/class/SC_Date/SC_Date_getZeroYearTest.php +++ b/tests/class/SC_Date/SC_Date_getZeroYearTest.php @@ -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());