Initial commit, WIP.

This commit is contained in:
Junade Ali
2017-01-13 23:52:27 +00:00
commit a49c655e77
13 changed files with 2150 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
/**
* User: junade
* Date: 13/01/2017
* Time: 23:35
*/
class GuzzleTest extends PHPUnit_Framework_TestCase
{
public function testGet()
{
$auth = $this->getMockBuilder(\Cloudflare\API\Auth\Auth::class)
->setMethods(['getHeaders'])
->getMock();
$client = new \Cloudflare\API\Adapter\Guzzle($auth, 'https://httpbin.org/');
$client->get('https://httpbin.org/get');
}
}