test: improve wording, fix typos

This commit is contained in:
Thomas Gelf 2017-01-12 00:04:58 +01:00
parent 3dff6848ec
commit e31a52bc48
4 changed files with 7 additions and 7 deletions

View file

@ -44,7 +44,7 @@ class HostNodeTest extends BaseTestCase
/**
* @expectedException \Icinga\Exception\ProgrammingError
*/
public function testWhetherSettingAnInvalidStateFails()
public function testSettingAnInvalidStateFails()
{
$bp = new BpConfig();
$host = $bp->createHost('localhost')->setState(98);

View file

@ -139,7 +139,7 @@ class AttributeTest extends BaseTestCase
);
}
public function testRendersCorrectls()
public function testRendersCorrectly()
{
$a = new Attribute('weird', array('"sü?ß', '/some/url?a=b&c=d'));
$this->assertEquals(

View file

@ -7,7 +7,7 @@ use Icinga\Module\Businessprocess\Test\BaseTestCase;
class HtmlTagTest extends BaseTestCase
{
public function testH1isRendered()
public function testHeaderIsRendered()
{
$h1 = HtmlTag::h1('Hea & der');
$this->assertEquals(

View file

@ -102,7 +102,7 @@ class AndOperatorTest extends BaseTestCase
);
}
public function testWhetherSimpleAndOperationWorks()
public function testSimpleAndOperationWorksCorrectly()
{
$bp = new BpConfig();
$bp->throwErrors();
@ -128,7 +128,7 @@ class AndOperatorTest extends BaseTestCase
);
}
public function testWhetherSimpleOrOperationWorks()
public function testSimpleOrOperationWorksCorrectly()
{
$bp = new BpConfig();
$bp->throwErrors();
@ -143,7 +143,7 @@ class AndOperatorTest extends BaseTestCase
$this->assertEquals('WARNING', $p->getStateName());
}
public function testWhetherPendingIsAccepted()
public function testPendingIsAccepted()
{
$bp = new BpConfig();
$host = $bp->createHost('localhost')->setState(99);
@ -173,7 +173,7 @@ class AndOperatorTest extends BaseTestCase
);
}
public function testWhetherPendingIsWorseThanUpOrOk()
public function testPendingIsWorseThanUpOrOk()
{
$bp = new BpConfig();
$host = $bp->createHost('localhost')->setState(99);