@@ -72,7 +72,7 @@ |
||
72 | 72 | |
73 | 73 | |
74 | 74 | $ds = DIRECTORY_SEPARATOR; |
75 | - $path = __DIR__ . $ds . 'data' . $ds . 'order.php'; |
|
75 | + $path = __DIR__.$ds.'data'.$ds.'order.php'; |
|
76 | 76 | |
77 | 77 | if( ( $testdata = include( $path ) ) == false ) { |
78 | 78 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for order domain', $path ) ); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | $this->msg( 'Adding coupon test data', 0 ); |
55 | 55 | |
56 | 56 | $ds = DIRECTORY_SEPARATOR; |
57 | - $path = __DIR__ . $ds . 'data' . $ds . 'coupon.php'; |
|
57 | + $path = __DIR__.$ds.'data'.$ds.'coupon.php'; |
|
58 | 58 | |
59 | 59 | if( ( $testdata = include( $path ) ) == false ) { |
60 | 60 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for coupon test data', $path ) ); |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $search->setConditions( $search->combine( '&&', $expr ) ); |
163 | 163 | |
164 | 164 | foreach( $orderBaseProd->searchItems( $search ) as $ordProd ) { |
165 | - $ordProdIds[$ordProd->getProductCode() . '/' . $ordProd->getQuantity() . '/' . $ordProd->getPosition()] = $ordProd->getId(); |
|
165 | + $ordProdIds[$ordProd->getProductCode().'/'.$ordProd->getQuantity().'/'.$ordProd->getPosition()] = $ordProd->getId(); |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | $orderCoupon = $orderBaseCoupon->createItem(); |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $this->additional->setEditor( 'core:unittest' ); |
61 | 61 | |
62 | 62 | $ds = DIRECTORY_SEPARATOR; |
63 | - $path = __DIR__ . $ds . 'data' . $ds . 'service.php'; |
|
63 | + $path = __DIR__.$ds.'data'.$ds.'service.php'; |
|
64 | 64 | |
65 | 65 | if( ( $testdata = include( $path ) ) == false ) { |
66 | 66 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for service domain', $path ) ); |
@@ -76,7 +76,7 @@ |
||
76 | 76 | $adminJobManager = \Aimeos\MAdmin\Job\Manager\Factory::createManager( $this->additional, 'Standard' ); |
77 | 77 | |
78 | 78 | $ds = DIRECTORY_SEPARATOR; |
79 | - $path = __DIR__ . $ds . 'data' . $ds . 'job.php'; |
|
79 | + $path = __DIR__.$ds.'data'.$ds.'job.php'; |
|
80 | 80 | |
81 | 81 | if( ( $testdata = include( $path ) ) == false ) { |
82 | 82 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for job domain', $path ) ); |
@@ -76,7 +76,7 @@ |
||
76 | 76 | $supplierAddressManager = $supplierManager->getSubManager( 'address', 'Standard' ); |
77 | 77 | |
78 | 78 | $ds = DIRECTORY_SEPARATOR; |
79 | - $path = __DIR__ . $ds . 'data' . $ds . 'supplier.php'; |
|
79 | + $path = __DIR__.$ds.'data'.$ds.'supplier.php'; |
|
80 | 80 | |
81 | 81 | if( ( $testdata = include( $path ) ) == false ) { |
82 | 82 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for supplier domain', $path ) ); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $manager = \Aimeos\MAdmin\Cache\Manager\Factory::createManager( $this->additional, 'Standard' ); |
76 | 76 | |
77 | 77 | $ds = DIRECTORY_SEPARATOR; |
78 | - $path = __DIR__ . $ds . 'data' . $ds . 'cache.php'; |
|
78 | + $path = __DIR__.$ds.'data'.$ds.'cache.php'; |
|
79 | 79 | |
80 | 80 | if( ( $testdata = include( $path ) ) == false ) { |
81 | 81 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for cache domain', $path ) ); |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $this->additional->setEditor( 'core:unittest' ); |
61 | 61 | |
62 | 62 | $ds = DIRECTORY_SEPARATOR; |
63 | - $path = __DIR__ . $ds . 'data' . $ds . 'price.php'; |
|
63 | + $path = __DIR__.$ds.'data'.$ds.'price.php'; |
|
64 | 64 | |
65 | 65 | if( ( $testdata = include( $path ) ) == false ) { |
66 | 66 | throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for price domain', $path ) ); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | $id = $listItem->getParentId(); |
123 | - $text = $attrIds[$refId]->getName() . ' ' . current( $attribute ) . ' ' . current( $articles ) . ' ' . current( $size ); |
|
123 | + $text = $attrIds[$refId]->getName().' '.current( $attribute ).' '.current( $articles ).' '.current( $size ); |
|
124 | 124 | |
125 | 125 | |
126 | 126 | $textItem->setId( null ); |
@@ -137,8 +137,8 @@ discard block |
||
137 | 137 | |
138 | 138 | $textItem->setId( null ); |
139 | 139 | $textItem->setTypeId( $textTypes['short'] ); |
140 | - $textItem->setLabel( 'Short ' . $text ); |
|
141 | - $textItem->setContent( 'Short description for ' . $text ); |
|
140 | + $textItem->setLabel( 'Short '.$text ); |
|
141 | + $textItem->setContent( 'Short description for '.$text ); |
|
142 | 142 | $textManager->saveItem( $textItem ); |
143 | 143 | |
144 | 144 | $textListItem->setId( null ); |
@@ -149,8 +149,8 @@ discard block |
||
149 | 149 | |
150 | 150 | $textItem->setId( null ); |
151 | 151 | $textItem->setTypeId( $textTypes['long'] ); |
152 | - $textItem->setLabel( 'Long ' . $text ); |
|
153 | - $textItem->setContent( 'Long description for ' . $text . '. This may include some "lorem ipsum" text' ); |
|
152 | + $textItem->setLabel( 'Long '.$text ); |
|
153 | + $textItem->setContent( 'Long description for '.$text.'. This may include some "lorem ipsum" text' ); |
|
154 | 154 | $textManager->saveItem( $textItem ); |
155 | 155 | |
156 | 156 | $textListItem->setId( null ); |
@@ -118,7 +118,7 @@ |
||
118 | 118 | for( $i = 0; $i < 3; $i++ ) |
119 | 119 | { |
120 | 120 | $priceItem->setId( null ); |
121 | - $priceItem->setLabel( $item->getLabel() . ': from ' . ( 1 + $i * 5 ) ); |
|
121 | + $priceItem->setLabel( $item->getLabel().': from '.( 1 + $i * 5 ) ); |
|
122 | 122 | $priceItem->setQuantity( 1 + $i * 5 ); |
123 | 123 | $priceItem->setValue( $price - $i * 10 ); |
124 | 124 | $priceItem->setRebate( $i * 10 ); |