-
Notifications
You must be signed in to change notification settings - Fork 4
[CON-5276] make plugin compatible with 5.5 #480
Conversation
refactored ProductFromShop; adjusted ProductFromShopTest
| ]; | ||
| } | ||
|
|
||
| private function createRandomAddress() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kann das weg?
| "compatibility": { | ||
| "minimumVersion": "5.2.0", | ||
| "maximumVersion": "5.4.4", | ||
| "maximumVersion": "5.5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ich weiß nicht ob das sbp das so frisst vor dem offiziellen release von 5.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probieren, sonst muss es wieder raus
| new Criteria(), | ||
| Shopware()->Container()->get('shopware_storefront.context_service')->getShopContext()) | ||
| ); | ||
| ->willReturn($ps); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keine Ahnung warum aber es wollte lokal einfach nicht laufen, wenn der Constructor in der Funktion aufgerufen wurde
| private function getInvoicePayment() | ||
| { | ||
| $repository = $this->manager->getRepository('Shopware\Models\Payment\Payment'); | ||
| return $repository->findOneBy([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das sollte hoffentlich gecached werden, wenn wir die Funktion später zweimal aufrufen
No description provided.