Reverted guzzle to v.5 to support php 5.4, increased verbosity and improved internal api; improved readme

This commit is contained in:
Stephen Hoogendijk
2015-06-25 11:48:30 +02:00
parent c01fc4d3d0
commit a3405a7c15
10 changed files with 313 additions and 160 deletions

View File

@@ -38,15 +38,15 @@ class DatabaseTest extends \PHPUnit_Framework_TestCase
{
$point1 = new Point(
'cpu_load_short',
array('host' =>'server01', 'region'=>'us-west'),
array('value' => 0.64),
'myTime'
0.64,
array('host' => 'server01', 'region' => 'us-west'),
array('cpucount' => 10),
1435222310
);
$point2 = new Point(
'cpu_load_short',
array('host' =>'server01', 'region'=>'us-west'),
array('value' => 0.84),
'myTime'
0.84
);
$payloadExpected ="$point1\n$point2";