Commit graph

939 commits

Author SHA1 Message Date
Rafikooo
6366a15455 [Unit] Allow to pass the email into the setUpAdminContext function 2024-08-28 10:46:06 +02:00
Rafikooo
8bb72b50be [Unit] Add refund payment tests 2024-08-28 10:46:06 +02:00
Rafikooo
686293508d [Unit] Add 'JsonApiTestCase::assertResponseErrorMessage' utility function 2024-08-28 10:46:06 +02:00
Rafikooo
270d9df84a [Unit] Allow to pass body to the PATCH request method 2024-08-28 07:56:00 +02:00
Rafikooo
fea11cdbab [Unit] Include embedded email field in the cart responses 2024-08-28 07:56:00 +02:00
Rafikooo
847b25b83d [ECS] Apply ecs fixes 2024-08-28 07:56:00 +02:00
Rafikooo
f3b01d5827 [Unit] Adjust checkout and order tests responses after serialization changes 2024-08-28 07:56:00 +02:00
Rafikooo
66395c67c9 [Unit] Add shop context util function 2024-08-28 07:56:00 +02:00
Kamil Grygierzec
299b0f2eb5
[API] Upgrade Product Association resource to API Platform 3 (#16749)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

TODO:

- [ ] adjust Behat scenarios

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-08-21 11:31:57 +02:00
Kamil Grygierzec
50befb1503 Enable tests 2024-08-21 11:13:45 +02:00
Grzegorz Sadowski
6bf790dfae
[API][Admin] Enable contract tests for Product Association resource 2024-08-21 10:34:10 +02:00
Grzegorz Sadowski
c5c4a11d59
[API][Shop] Enable contract tests for Product Association resource 2024-08-21 10:34:10 +02:00
Karol
85624d3696
[API] Upgrade Product Image resource to API Platform 3 (#16742)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-08-21 09:43:03 +02:00
Grzegorz Sadowski
3b577201a1
[API][Admin] Improve responses for Product Association Type contract tests 2024-08-21 08:57:34 +02:00
Grzegorz Sadowski
6946e05483
[API] Adjust Product Association Type contract tests 2024-08-20 14:09:42 +02:00
Grzegorz Sadowski
87a8d6d4ec
[API][Admin] Enable contract tests for Product Association Type resource 2024-08-20 12:59:13 +02:00
Grzegorz Sadowski
989459b9b1
[API][Shop] Enable contract tests for Product Association Type resource 2024-08-20 12:46:05 +02:00
Grzegorz Sadowski
326efae9ee
[API] Adjust Product Image IRI in contract tests 2024-08-20 11:01:25 +02:00
Grzegorz Sadowski
f9d525888f
[API][Shop] Enable contract tests for Product Image resource 2024-08-20 10:52:02 +02:00
Grzegorz Sadowski
60c8727a0e
[API][Admin] Enable contract tests for Product Image resource 2024-08-20 10:52:02 +02:00
Wojdylak
e6db6b1b9d Minor improvments 2024-08-20 09:31:23 +02:00
Wojdylak
5cf31d9f5d Add CompositePaymentConfigurationProvider Mock 2024-08-20 09:31:23 +02:00
Wojdylak
5440286282 [Api][Shop][Order] Enable checkout behat tests 2024-08-20 09:31:23 +02:00
Wojdylak
5f9bf476c3 [Api][Admin][Order] Enable behat tests 2024-08-20 09:31:23 +02:00
Wojdylak
09d9a783bc [Api][Shop] Enable unit tests 2024-08-20 09:31:23 +02:00
Wojdylak
748c95b0dd [Api][Shop] Enable order resource 2024-08-20 09:31:23 +02:00
Jan Goralski
c112cc7474 [API] Upgrade ChannelPricingLogEntry 2024-08-19 07:22:54 +02:00
Jan Goralski
3fc01a3fad [API][ChannelPriceHistoryConfig] Upgrade and embed into channel 2024-08-19 07:19:16 +02:00
Rafikooo
1fdc8afba8
[Unit] Refactor product options tests codestyle 2024-08-14 10:36:07 +02:00
Rafikooo
8b0d39b60b
[Unit] Support PUT method in JsonApiTestCase util class 2024-08-14 10:36:07 +02:00
Rafikooo
cff4e4a428 [Unit] Add product option shop tests 2024-08-14 07:37:07 +02:00
Rafikooo
230e03e13c [Unit] Adjust product option collection response 2024-08-14 07:37:07 +02:00
Rafikooo
bd4c2e0353 [Unit] Adjust responses of product option admin endpoints 2024-08-14 07:37:07 +02:00
Rafikooo
b8ab84e531 [Unit] Adjust ProductOptions endpoints responses 2024-08-14 07:37:07 +02:00
Rafikooo
75f4e8b6d5 [Unit] Adjust ProductOptions update and remove obsolete ProductOptionValues tests 2024-08-14 07:37:07 +02:00
Rafikooo
d67cf2fe47 [Unit] Enable product options tests 2024-08-14 07:37:07 +02:00
Rafikooo
c3e0034118 [ECS] Apply ecs fixes 2024-08-13 11:40:25 +02:00
Rafikooo
f5f2036b3c [Unit] Adjust response of creating unregistered type of attribute 2024-08-13 11:40:25 +02:00
Rafikooo
2b0ffb2714 [Unit] Add tests for creating product attribute on specific position 2024-08-13 11:40:25 +02:00
Jan Góralski
c2399d278e
minor #16681 [Api][Order] Enable Cart operations (Wojdylak)
This PR was merged into the api-platform-3 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

Commits
-------
  [Api][Order] Enable Cart operations
  [Api] Fix OrderPlacerTrait
  [Api] Enable shippingMethodsTest
  [Api][Order] Rename ObjectUriVariablesAwareContextBuilder to UriVariablesAwareContextBuilder
  [Api][Test] Use new constructor of commands
  [Api] Move ContextBuilder to Serializer/ContextBuilder directory
2024-08-08 12:54:25 +02:00
Wojdylak
095900dae6
[Api] Move ContextBuilder to Serializer/ContextBuilder directory 2024-08-08 12:33:38 +02:00
Rafikooo
325ca8b5ce [Unit] Adjust ProductTaxons endpoints responses 2024-08-07 15:55:55 +02:00
Kamil Grygierzec
e4190c5fd8 Enable contract tests and correct some minor issues in tests 2024-08-07 15:55:55 +02:00
Wojdylak
49911f705d
[Api][Test] Use new constructor of commands 2024-08-07 10:06:22 +02:00
Wojdylak
75490cdfdf
[Api] Enable shippingMethodsTest 2024-08-07 09:57:10 +02:00
Wojdylak
d4ee8abd97
[Api] Fix OrderPlacerTrait 2024-08-07 09:57:10 +02:00
Wojdylak
78e57b71dc
[Api][Order] Enable Cart operations 2024-08-07 09:57:10 +02:00
Karol
15d62e235f
Upgrade PaymentMethod to APIP3 (#16672)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-08-07 08:14:35 +02:00
Michał Pysiak
d1226915b8 Minor changes after CR 2024-08-07 07:38:52 +02:00
Michał Pysiak
1fdbae1f7c [API] Fixes 2024-08-07 07:38:52 +02:00