Skip to content

Commit

Permalink
minor #16092 Minor correction of names (Wojdylak)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT


Commits
-------

3491859 [Maintenance] Change tex to tax
96c85e5 [Maintenance] Change names of tests
  • Loading branch information
GSadee committed Apr 4, 2024
2 parents 46fb261 + 96c85e5 commit 9dfbb6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<tag name="serializer.normalizer" priority="64" />
</service>

<service id="sylius.api.denormalizer.numeric_to_string.tex_rate" class="Sylius\Bundle\ApiBundle\Serializer\NumericToStringDenormalizer">
<service id="sylius.api.denormalizer.numeric_to_string.tax_rate" class="Sylius\Bundle\ApiBundle\Serializer\NumericToStringDenormalizer">
<argument type="string">%sylius.model.tax_rate.class%</argument>
<argument type="string">amount</argument>
<tag name="serializer.normalizer" priority="64" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function it_does_not_support_not_adjustment_resource(): void
;
}

function it_does_not_support_in_shop_api_section(
function it_does_not_support_shop_api_section(
SectionProviderInterface $sectionProvider,
ShopApiSection $shopApiSection,
): void {
Expand Down Expand Up @@ -84,7 +84,7 @@ function it_supports_order_item_adjustments_subresource_in_admin_api_section(
;
}

function it_providers_empty_array_if_order_item_does_not_exist(
function it_provides_empty_array_if_order_item_does_not_exist(
OrderItemRepositoryInterface $orderItemRepository,
): void {
$context['subresource_identifiers'] = ['id' => '11'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function it_supports_only_order_item_adjustments_subresource_data_provider(): vo
;
}

function it_providers_empty_array_if_order_item_does_not_exist(
function it_provides_empty_array_if_order_item_does_not_exist(
OrderItemRepositoryInterface $orderItemRepository,
): void {
$context['subresource_identifiers'] = ['tokenValue' => 'TOKEN', 'items' => '11'];
Expand Down

0 comments on commit 9dfbb6d

Please sign in to comment.