monit: fix test after service controller change

This commit is contained in:
Franco Fichtner 2018-08-04 20:06:13 +02:00
parent d95187f086
commit 4fc44b142c

View File

@ -297,7 +297,7 @@ class MonitTest extends \PHPUnit\Framework\TestCase
if ($response['status'] == 'running') {
// stop possibly running service
$response = $svcMonit->stopAction();
$this->assertEquals($response['response'], "OK\n\n");
$this->assertEquals($response['response'], 'OK');
}
// reconfigure and start
@ -334,7 +334,7 @@ class MonitTest extends \PHPUnit\Framework\TestCase
public function testCleanup($svcMonit)
{
$response = $svcMonit->stopAction();
$this->assertEquals($response['response'], "OK\n\n");
$this->assertEquals($response['response'], 'OK');
foreach (array_reverse($this->nodeTypes) as $nodeType) {
$this->cleanupNodes($nodeType);