RegistryClientTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testImageTags() 0 7 1
1
<?php
2
3
namespace TheAentMachine\Registry;
4
5
6
use PHPUnit\Framework\TestCase;
7
8
class RegistryClientTest extends TestCase
9
{
10
    public function testImageTags() : void
11
    {
12
        $client = new RegistryClient();
13
        $tags = $client->getImageTagsOnDockerHub('thecodingmachine/php');
14
15
        $this->assertNotEmpty($tags);
16
        $this->assertInternalType('string', $tags[0]);
17
    }
18
}
19