Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
place init() test in testHasElement()
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 22, 2015
1 parent aca734d commit b41e2a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ class LogFormTest extends PHPUnit_Framework_TestCase
public function setUp()
{
$this->logForm = new LogForm();
$this->logForm->init();
}

/**
* @covers LearnZF2Log\Form\LogForm::init
*/
public function testHasElement()
{
$this->logForm->init();
$this->assertTrue($this->logForm->has('logmessage'));
$this->assertTrue($this->logForm->has('logformat'));
$this->assertTrue($this->logForm->has('logpriority'));
Expand Down

0 comments on commit b41e2a8

Please sign in to comment.