File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ class AttributeConverterTest extends TestCase
17
17
/**
18
18
* Mocks \Attrpubapi\Attribute with provided name and value.
19
19
*/
20
- private function getMockForProtobufAttribute ($ name , $ value ) {
20
+ private function getMockForProtobufAttribute ($ name , $ value )
21
+ {
21
22
// Setup protobuf mock.
22
23
$ protobufAttribute = $ this ->getMockBuilder (\Attrpubapi \Attribute::class)
23
24
->disableOriginalConstructor ()
@@ -62,7 +63,8 @@ public function testSelfieValueShouldReturnImageObject()
62
63
/**
63
64
* @covers ::convertToYotiAttribute
64
65
*/
65
- public function testConvertToYotiAttribute () {
66
+ public function testConvertToYotiAttribute ()
67
+ {
66
68
$ attr = AttributeConverter::convertToYotiAttribute ($ this ->getMockForProtobufAttribute ('test_attr ' , 'my_value ' ));
67
69
$ this ->assertEquals ('test_attr ' , $ attr ->getName ());
68
70
$ this ->assertEquals ('my_value ' , $ attr ->getValue ());
@@ -71,9 +73,9 @@ public function testConvertToYotiAttribute() {
71
73
/**
72
74
* @covers ::convertToYotiAttribute
73
75
*/
74
- public function testConvertToYotiAttributeNullValue () {
76
+ public function testConvertToYotiAttributeNullValue ()
77
+ {
75
78
$ attr = AttributeConverter::convertToYotiAttribute ($ this ->getMockForProtobufAttribute ('test_attr ' , '' ));
76
79
$ this ->assertNull ($ attr );
77
80
}
78
-
79
81
}
You can’t perform that action at this time.
0 commit comments