mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Bugfix write method tests
This commit is contained in:
@@ -52,7 +52,7 @@ class DatabaseTest extends \PHPUnit_Framework_TestCase
|
|||||||
$payloadExpected ="$point1\n$point2";
|
$payloadExpected ="$point1\n$point2";
|
||||||
|
|
||||||
$this->mockClient->expects($this->once())
|
$this->mockClient->expects($this->once())
|
||||||
->method('query')
|
->method('write')
|
||||||
->with($this->equalTo($this->db->getName()), $this->equalTo($payloadExpected));
|
->with($this->equalTo($this->db->getName()), $this->equalTo($payloadExpected));
|
||||||
|
|
||||||
$this->db->writePoints(array($point1, $point2));
|
$this->db->writePoints(array($point1, $point2));
|
||||||
|
|||||||
Reference in New Issue
Block a user