mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
monit: fix test after service controller change
This commit is contained in:
parent
d95187f086
commit
4fc44b142c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user