COM-40 :: Added None Auth class, IPs endpoint and associated tests
This commit is contained in:
20
tests/Auth/NoneTest.php
Normal file
20
tests/Auth/NoneTest.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: junade
|
||||
* Date: 04/09/2017
|
||||
* Time: 20:08
|
||||
*/
|
||||
|
||||
use Cloudflare\API\Auth\None;
|
||||
|
||||
class NoneTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testGetHeaders()
|
||||
{
|
||||
$auth = new \Cloudflare\API\Auth\None();
|
||||
$headers = $auth->getHeaders();
|
||||
|
||||
$this->assertEquals([], $headers);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user