Skip to content

Commit

Permalink
OP-273 - fix not existing service on 1.12. Fix sylius version in gh a…
Browse files Browse the repository at this point in the history
…ctions.
  • Loading branch information
BartoszWojdalowicz committed May 14, 2024
1 parent 3349335 commit a8c03a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
php: [ "8.1", "8.2", "8.3" ]
symfony: [ "^5.4", "^6.0" ]
sylius: [ "^1.12", "^1.13" ]
sylius: [ "~1.12", "~1.13" ]
node: [ "18.x", "20.x" ]
mysql: [ "5.7", "8.0" ]
env:
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/services/transformer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<service id="BitBag\SyliusElasticsearchPlugin\Transformer\Product\ChannelPricingTransformer">
<argument type="service" id="sylius.context.channel" />
<argument type="service" id="sylius.context.locale" />
<argument type="service" id="Sylius\Component\Product\Resolver\ProductVariantResolverInterface" />
<argument type="service" id="sylius.product_variant_resolver.default" />
<argument type="service" id="sylius.money_formatter" />
</service>

Expand Down
2 changes: 1 addition & 1 deletion tests/Behat/Resources/services/contexts/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<argument type="service" id="sylius.factory.product_option" />
<argument type="service" id="sylius.factory.product_option_value" />
<argument type="service" id="doctrine.orm.entity_manager" />
<argument type="service" id="Sylius\Component\Product\Resolver\ProductVariantResolverInterface" />
<argument type="service" id="sylius.product_variant_resolver.default" />
<argument type="service" id="sylius.generator.slug" />
</service>

Expand Down

0 comments on commit a8c03a4

Please sign in to comment.