mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-05 05:09:34 -05:00
test: improve wording, fix typos
This commit is contained in:
parent
3dff6848ec
commit
e31a52bc48
4 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue