Completed
Pull Request — master (#1)
by Jason
03:32
created

ImageUploadFieldTest::test__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
class ImageUploadFieldTest extends SapphireTest
4
{
5
    public function test__construct()
0 ignored issues
show
Coding Style introduced by
Method name "ImageUploadFieldTest::test__construct" is not in camel caps format
Loading history...
6
    {
7
        $field = new ImageUploadField('Image');
8
        $this->assertInstanceOf('UploadField', $field);
1 ignored issue
show
Bug introduced by
The method assertInstanceOf() does not seem to exist on object<ImageUploadFieldTest>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
9
    }
10
}
11