diff --git a/src/opnsense/mvc/tests/app/compound/OPNsense/Monit/MonitTest.php b/src/opnsense/mvc/tests/app/compound/OPNsense/Monit/MonitTest.php index f08c05bb4..3772ec55f 100644 --- a/src/opnsense/mvc/tests/app/compound/OPNsense/Monit/MonitTest.php +++ b/src/opnsense/mvc/tests/app/compound/OPNsense/Monit/MonitTest.php @@ -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);