Passed
Push — master ( 892c73...5dcb5e )
by Aimeos
04:29
created
lib/mshoplib/tests/MShop/Common/Item/Property/StandardTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
 	public function testSetLanguageId()
68 68
 	{
69
-		$return = $this->object->setLanguageId('fr');
69
+		$return = $this->object->setLanguageId( 'fr' );
70 70
 
71 71
 		$this->assertInstanceOf( \Aimeos\MShop\Common\Item\Property\Iface::class, $return );
72 72
 		$this->assertEquals( 'fr', $this->object->getLanguageId() );
@@ -151,11 +151,11 @@  discard block
 block discarded – undo
151 151
 
152 152
 		$item = $item->fromArray( $entries, true );
153 153
 
154
-		$this->assertEquals([], $entries);
155
-		$this->assertEquals($list['common.property.parentid'], $item->getParentId());
156
-		$this->assertEquals($list['common.property.languageid'], $item->getLanguageId());
157
-		$this->assertEquals($list['common.property.value'], $item->getValue());
158
-		$this->assertEquals($list['common.property.type'], $item->getType());
154
+		$this->assertEquals( [], $entries );
155
+		$this->assertEquals( $list['common.property.parentid'], $item->getParentId() );
156
+		$this->assertEquals( $list['common.property.languageid'], $item->getLanguageId() );
157
+		$this->assertEquals( $list['common.property.value'], $item->getValue() );
158
+		$this->assertEquals( $list['common.property.type'], $item->getType() );
159 159
 		$this->assertNull( $item->getSiteId() );
160 160
 	}
161 161
 
Please login to merge, or discard this patch.