Skip to content

Commit

Permalink
テストケースを修正 #1794
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoi256 committed Sep 29, 2016
1 parent 2c282f0 commit c370116
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,19 @@ public function testSex()

public function testBirthMonth()
{
// TODO 本体未実装
$this->Customer->setBirth(new \DateTime('2016-09-29'));
$this->Customer1->setBirth(new \DateTime('2010-09-01'));
$this->Customer2->setBirth(new \DateTime('2016-01-01'));
$this->Customer3->setBirth(null);
$this->app['orm.em']->flush();

$this->searchData = array(
'birth_month' => 5
'birth_month' => 9
);

$this->scenario();

$this->expected = 4;
$this->expected = 2;
$this->actual = count($this->Results);
$this->verify();
}
Expand Down

0 comments on commit c370116

Please sign in to comment.