Skip to content

Commit 7111206

Browse files
committed
SDK-752: Apply PSR2 coding standards
1 parent 96c58fd commit 7111206

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/Util/Profile/AttributeConverterTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ class AttributeConverterTest extends TestCase
1717
/**
1818
* Mocks \Attrpubapi\Attribute with provided name and value.
1919
*/
20-
private function getMockForProtobufAttribute($name, $value) {
20+
private function getMockForProtobufAttribute($name, $value)
21+
{
2122
// Setup protobuf mock.
2223
$protobufAttribute = $this->getMockBuilder(\Attrpubapi\Attribute::class)
2324
->disableOriginalConstructor()
@@ -62,7 +63,8 @@ public function testSelfieValueShouldReturnImageObject()
6263
/**
6364
* @covers ::convertToYotiAttribute
6465
*/
65-
public function testConvertToYotiAttribute() {
66+
public function testConvertToYotiAttribute()
67+
{
6668
$attr = AttributeConverter::convertToYotiAttribute($this->getMockForProtobufAttribute('test_attr', 'my_value'));
6769
$this->assertEquals('test_attr', $attr->getName());
6870
$this->assertEquals('my_value', $attr->getValue());
@@ -71,9 +73,9 @@ public function testConvertToYotiAttribute() {
7173
/**
7274
* @covers ::convertToYotiAttribute
7375
*/
74-
public function testConvertToYotiAttributeNullValue() {
76+
public function testConvertToYotiAttributeNullValue()
77+
{
7578
$attr = AttributeConverter::convertToYotiAttribute($this->getMockForProtobufAttribute('test_attr', ''));
7679
$this->assertNull($attr);
7780
}
78-
7981
}

0 commit comments

Comments
 (0)