Commit graph

1117 commits

Author SHA1 Message Date
Rafikooo
295901a0cd
[API] Change endpoint for customer reset password 2024-03-11 17:00:08 +01:00
Rafikooo
9fdc244a35
[API] Change endpoint for administrator reset password 2024-03-11 17:00:08 +01:00
Rafikooo
05ff93ffb0
[API] Change endpoint for requesting customer authentication token 2024-03-11 17:00:08 +01:00
Rafikooo
b0e1c284e8
[API] Change endpoint for requesting admin authentication token 2024-03-11 17:00:08 +01:00
Jan Goralski
545d2b8f3e
[API][Maintenance] Fix field name in AddressLogEntry serialization 2024-02-29 16:11:30 +01:00
Jan Góralski
8debdb2a78
minor #15935 [Unit][Admin] Missing Customer Tests (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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                                                          |



Commits
-------
  [Unit][Admin] Add creating customer with already taken email test
  [Unit][Admin] Add removing shop user test
2024-02-29 15:43:11 +01:00
Jan Góralski
165238434d
minor #15936 [Unit][Admin] Missing Exchange Rate Test (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [Unit][Admin] Add removing exchange-rate test
2024-02-29 15:29:14 +01:00
Rafikooo
460d0e51c5
[Unit][Admin] Add removing exchange-rate test 2024-02-29 14:43:15 +01:00
Jan Goralski
2b514aaf69
[API][Shop] Remove payment method translation endpoint 2024-02-29 14:40:07 +01:00
Rafikooo
3d00f894b2
[Unit][Admin] Add removing shop user test 2024-02-29 14:28:22 +01:00
Rafikooo
31eba54364
[Unit][Admin] Add creating customer with already taken email test 2024-02-29 14:28:22 +01:00
Rafikooo
41d5339405
[Unit][Admin] Add customer group removal test 2024-02-29 10:28:22 +01:00
Jan Góralski
109720004e
minor #15924 [Unit][Admin] Missing Payment Methods tests (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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                                                          |

Based on #15922

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [Unit][Admin] Add payment method translation test
  [Unit][Admin] Add payment method removal test
  [Unit][Admin] Update test method calls
2024-02-29 09:53:22 +01:00
Rafikooo
bef758a47e
[Unit][Admin] Update test method calls 2024-02-29 09:12:15 +01:00
Jan Góralski
a1d2f81552
minor #15927 [API] Missing AvatarImage Tests (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [API] Add contract tests for AvatarImage Api resources
  [Unit][Admin] Cherry-pick avatar-image tests
2024-02-29 09:08:55 +01:00
Rafikooo
d039113ef8
[Unit][Admin] Add payment method removal test 2024-02-29 09:01:05 +01:00
Rafikooo
30c4aea0c5
[Unit][Admin] Add payment method translation test 2024-02-29 09:01:05 +01:00
Jan Góralski
339d39306a
minor #15922 [Unit][Admin] Missing Payments Tests (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [Unit][Admin] Add a payment completion test
  [Unit] Add requestPatch method to utils functions
  [Unit][Admin] Add another payment completion test
  [Unit][Admin] Add payments filtering by payment state test
  [ECS] Apply ecs fixes
2024-02-29 08:58:34 +01:00
Karol
bf67089577
minor #15931 [Unit][Admin] Catalog Promotion Removal Test (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [Unit][Admin] Add catalog-promotion removal test
2024-02-29 08:50:53 +01:00
Rafikooo
c15cb6506d
[Unit][Admin] Add catalog-promotion removal test 2024-02-29 08:24:32 +01:00
Karol
7a983e1c69
minor #15926 [Unit][Admin] Missing Product Attribute Translations Test (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  [Unit][Admin] Add product-attribute-translations test
2024-02-29 08:22:33 +01:00
Rafikooo
e217c797e8
[Unit][Admin] Cherry-pick avatar-image tests 2024-02-29 01:04:09 +01:00
Wojdylak
900e8c4d7e
[API] Add contract tests for AvatarImage Api resources 2024-02-29 01:00:49 +01:00
Rafikooo
4685456dfa
[Unit][Admin] Add product-attribute-translations test 2024-02-29 00:51:12 +01:00
Rafikooo
05dcb9d3ec
[Unit][Admin] Add product-association-type-translations test 2024-02-28 22:34:56 +01:00
Rafikooo
98f758d591
[ECS] Apply ecs fixes 2024-02-28 18:45:04 +01:00
Rafikooo
8ea0858b30
[Unit][Admin] Add payments filtering by payment state test 2024-02-28 18:44:52 +01:00
Rafikooo
d91c20531b
[Unit][Admin] Add another payment completion test 2024-02-28 18:44:29 +01:00
Rafikooo
ed4b5d232b
[Unit] Add requestPatch method to utils functions 2024-02-28 18:39:41 +01:00
Rafikooo
063c2f2477
[Unit][Admin] Add a payment completion test 2024-02-28 18:39:41 +01:00
Jan Góralski
bbfbf7cd96
minor #15918 [Api][Admin] Improve product option (Wojdylak)
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
-------
  [Api][Admin] Add removing of product option
  [Api][Admin] Add position field of product option to serialization
2024-02-28 16:36:50 +01:00
Jan Góralski
25d4f05fbc
minor #15919 Add missing description to shipping method and make calculator serialization name more descriptive (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->


Commits
-------
  Add missing description to shipping method
  Make shipping method calculators serialisation name and configuration more descriptive
2024-02-28 16:34:22 +01:00
Jan Góralski
3826ebb8ae
minor #15907 [API] Add missing Admin Orders API contract tests (Rafikooo)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- 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                                                          |

We aim to achieve maximum API test coverage before the Sylius 1.13 release.

This PR enhances testing by introducing some utility functions

Commits
-------
  [Unit] Prepare admin fixture with two new orders in two different channels accordingly
  [Unit] Test getting collection of orders in admin context
  [Unit] Set order payment and shipping states to correct ones
  [Unit] Test getting collection of orders filtered by channel in admin context
  [Unit] Test getting collection of orders filtered by currency in admin context
  [Unit] Test getting collection of orders filtered by many currencies in admin context
  [Unit] Introduce assertResponseSuccessful generic function and use it within admin orders tests
  [Unit] Add generic requestGet method
  [Unit] Change the order of the test
  [Unit] Add ability to set admin context with automatic login and default HTTP headers
  [Unit] Test getting collection of orders filtered by date limit in admin context
  [Unit] Add another testing case for filtering orders by date
  [ECS] Apply ecs fixes
2024-02-28 16:33:54 +01:00
Wojdylak
f600bc085c
[Api][Admin] Add invalidRatingRangeDataProvider to test 2024-02-28 14:57:28 +01:00
Kamil Grygierzec
825f37e95b
Make shipping method calculators serialisation name and configuration more descriptive 2024-02-28 14:31:25 +01:00
Rafikooo
49f5a17911
[ECS] Apply ecs fixes 2024-02-28 14:23:39 +01:00
Rafikooo
09c89503ab
[Unit] Add another testing case for filtering orders by date 2024-02-28 14:23:38 +01:00
Rafikooo
73a26edcee
[Unit] Test getting collection of orders filtered by date limit in admin context 2024-02-28 14:23:38 +01:00
Rafikooo
f21f9ea629
[Unit] Add ability to set admin context with automatic login and default HTTP headers 2024-02-28 14:18:15 +01:00
Rafikooo
e209096b62
[Unit] Change the order of the test 2024-02-28 14:18:15 +01:00
Rafikooo
1a9b29160b
[Unit] Add generic requestGet method 2024-02-28 14:18:15 +01:00
Rafikooo
97861c296b
[Unit] Introduce assertResponseSuccessful generic function and use it within admin orders tests 2024-02-28 14:18:15 +01:00
Rafikooo
d04a63ab7a
[Unit] Test getting collection of orders filtered by many currencies in admin context 2024-02-28 14:18:15 +01:00
Rafikooo
50c9820521
[Unit] Test getting collection of orders filtered by currency in admin context 2024-02-28 14:18:15 +01:00
Rafikooo
ad5082a3d3
[Unit] Test getting collection of orders filtered by channel in admin context 2024-02-28 14:18:15 +01:00
Rafikooo
83bc2d4ecb
[Unit] Set order payment and shipping states to correct ones 2024-02-28 14:18:15 +01:00
Rafikooo
ba814d2dbb
[Unit] Test getting collection of orders in admin context 2024-02-28 14:18:14 +01:00
Rafikooo
1816de0d55
[Unit] Prepare admin fixture with two new orders in two different channels accordingly 2024-02-28 14:18:14 +01:00
Wojdylak
69a32305b8
[Api][Admin] Add position field of product option to serialization 2024-02-28 14:05:06 +01:00
Wojdylak
953ae7f27b
[Api][Admin] Add removing of product option 2024-02-28 14:04:54 +01:00