ZoneAnalyticsTest::testDashboardNoZone()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/**
3
 * @author Chris Hilsdon <[email protected]>
4
 */
5
namespace Cloudflare\Tests;
6
7
use Cloudflare;
8
9
class ZoneAnalyticsTest extends BaseUnit
10
{
11
    protected $ZoneAnalytics;
12
13
    //koolserve.xyz
14
    private $KSZoneID = "0f236a513258267544b22764501c4ae6";
0 ignored issues
show
Unused Code introduced by
The property $KSZoneID is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
15
16
    protected function setup()
17
    {
18
        $this->newCloudflare();
19
        $this->ZoneAnalytics = new Cloudflare\ZoneAnalytics($this->getCloudflare());
20
    }
21
22
    public function testDashboardNoZone()
23
    {
24
        $test = $this->ZoneAnalytics->fetchDashboard();
25
        $this->assertFalse($test, "TODO: Cahnge me");
26
    }
27
}