Commit graph

886 commits

Author SHA1 Message Date
Grzegorz Sadowski
ecd82e8273
Merge branch '1.14' into 2.0
* 1.14:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:13:51 +02:00
Grzegorz Sadowski
7e8e682d09
Merge branch '1.13' into 1.14
* 1.13:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:06:23 +02:00
Grzegorz Sadowski
f0dc4cb967
[API] Add missing endpoint for ShopUser in shop context 2024-09-25 10:20:32 +02:00
Kamil Grygierzec
3600f870d1
[API] Add position to serialization and fix contract tests 2024-09-24 22:38:53 +02:00
Rafikooo
5ba8d3159e
[Unit] Add test cases for promotion coupon with non-existing promotion 2024-09-24 12:10:56 +02:00
Rafikooo
7d8d85a4ba
[Unit] Add customizable message to assertResponseNotFound in JsonApiTestCase 2024-09-24 12:10:56 +02:00
Rafikooo
7c2d8a8e0c
[Unit] Replace direct client requests with helper methods in PromotionCouponsTest class 2024-09-24 12:10:56 +02:00
Rafikooo
b68a670d14
[API] Refactor PromotionCoupons tests to use new promotion coupon URIs 2024-09-24 12:10:56 +02:00
Rafikooo
13b2649251
[Unit] Adjust promotion coupons tests 2024-09-24 12:10:55 +02:00
Rafikooo
c83a2642a8
[Unit] Refine promotion tests 2024-09-24 12:10:54 +02:00
Grzegorz Sadowski
df217d7182
Resolve conflicts between 2.0 and symfony-7 2024-09-24 08:48:32 +02:00
Jan Goralski
76f1334eac [Maintenance] Fix ChannelCodeCollectionValidator regression 2024-09-18 08:57:26 +02:00
Jan Goralski
843ae7bbee [Maintenance] Remove other deprecations
[Maintenance] Remove obsolete catalog promotion validation abstraction
2024-09-18 08:57:26 +02:00
Michał Pysiak
22a6311d73 Change fixtures - add createdAt different time for customers 2024-09-16 14:22:00 +02:00
Michał Pysiak
0b13a8f1f1 Revert "[API] Change the order of customers in contract tests response"
This reverts commit 81a1fae989c5126bc13be88b8bd5736a4dba23d2.
2024-09-16 14:22:00 +02:00
Grzegorz Sadowski
69ec6b1c92 [API] Change the order of customers in contract tests response 2024-09-16 14:22:00 +02:00
Grzegorz Sadowski
3dfa1e72b2
[PaymentMethod] Adjust contract tests 2024-09-16 12:12:01 +02:00
Rafikooo
8339c218bc [Unit] Refine shipping method tests 2024-09-16 07:29:06 +02:00
Rafikooo
711680b82a [API] Change configuration of shipping method translation resource 2024-09-16 07:29:06 +02:00
Rafikooo
8ae576e640 [Unit] Adjust product tests 2024-09-16 07:29:06 +02:00
Rafikooo
8e8a7c6722 [Unit][Admin] Refine catalog promotion tests 2024-09-16 07:29:06 +02:00
Rafikooo
28b8ac1d02 [Unit] Adjust catalog promotion tests 2024-09-16 07:29:06 +02:00
Kamil Grygierzec
983594e0f7
Refactor a bit the validation of Statistics, enable unit test 2024-09-10 11:58:40 +02:00
Wojdylak
f4d3aadd7c
[Api] Add change password operation 2024-09-09 15:27:49 +02:00
Wojdylak
a30537ec7f
[Api] Secure the customer get endpoint 2024-09-09 15:27:48 +02:00
Grzegorz Sadowski
a417aa3d78
[API] Shop Users and Customers (#16881)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- 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


TODO: Cover these scenarios
eb0a19aacb
<!--
 - 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-09-09 08:39:00 +02:00
Grzegorz Sadowski
bfdfa929e8
Resolve conflicts between 1.14 and 2.0 2024-09-09 07:28:58 +02:00
Rafikooo
6d01b9ab0e
[Unit] Add new shipment and payment tests and refine existing ones 2024-09-06 14:52:10 +02:00
Rafikooo
db3e259356
[Unit] Add disableShopContext util function 2024-09-06 14:52:09 +02:00
Rafikooo
00acfcc5f4
[Unit] Change nAWw2jewpA token value to token 2024-09-06 14:52:09 +02:00
Rafikooo
c33b9ea363
[Unit] Add new response util functions 2024-09-06 14:23:56 +02:00
Rafikooo
747ed4914e
[Unit] Refine order placer trait 2024-09-06 14:23:56 +02:00
Wojdylak
eac4c38dc1
[Api][Unit] Fix it_gets_all_product_variants_when_invalid_product_filter_provided test 2024-09-05 09:33:27 +02:00
Wojdylak
bceb1c0928
[Api] Cover sorting and filtration of resources 2024-09-05 09:33:25 +02:00
Grzegorz Sadowski
a452741130
[API] Enable remaining Product tests (#16848)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| 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-09-05 09:28:29 +02:00
Rafikooo
d5c6f39f6c
[Unit][Admin] Add product variant collection filtering test 2024-09-05 00:20:30 +02:00
Kamil Grygierzec
648d167372
Correct contract tests and behat 2024-09-04 12:05:51 +02:00
Jan Goralski
2283134805
[Maintenance] Update RepositoryInterface FQCN 2024-09-04 09:08:59 +02:00
Kamil Grygierzec
eba41de116
[API] Enable contract tests for statistics (without validation) (#16830)
| 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-09-02 15:33:45 +02:00
Kamil Grygierzec
30a3401abc
[API] Rename resources configurations + enable remaining contract tests for Customer resource (#16828)
| 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-09-02 15:31:14 +02:00
Grzegorz Sadowski
9c2bbc57e4
[API] Enable contract tests for statistics (without validation) 2024-09-02 14:38:58 +02:00
Grzegorz Sadowski
b0cd88be22
[API] Enable remaining contract tests for Customer resource + minor refactor 2024-09-02 14:02:13 +02:00
Grzegorz Sadowski
ef88c793c3
[API] Enable contract tests for Province resource 2024-09-02 12:54:51 +02:00
Grzegorz Sadowski
510e77faa2
[API] Enable contract tests for Product Attribute Value resource 2024-09-02 12:54:46 +02:00
Rafikooo
875ab8a362
[ECS] Apply ecs fixes 2024-08-29 12:34:57 +02:00
Wojdylak
b8ab1dcd9e [Api] Change commands to immutable classes 2024-08-29 06:39:35 +02:00
Wojdylak
55bf57508c [Api] Mirror improvments 2024-08-29 06:39:35 +02:00
Rafikooo
45cd7320b4 [Unit] Use AdminUserLoginTrait explicitly 2024-08-28 10:46:06 +02:00
Rafikooo
02e9e64ae0 [Unit] Correct 'complete payment' response 2024-08-28 10:46:06 +02:00
Rafikooo
c97e240e43 [Unit] Update URI path from /payment-method/ to /payment-methods/ 2024-08-28 10:46:06 +02:00