Commit graph

73 commits

Author SHA1 Message Date
Kamil Grygierzec
e4190c5fd8 Enable contract tests and correct some minor issues in tests 2024-08-07 15:55:55 +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
be38057fd2 [APi] Enable disabled tests 2024-08-07 07:38:52 +02:00
Kamil Grygierzec
cc0313663d
Enable tests 2024-08-06 15:56:57 +02:00
Rafikooo
70233ad975
[Unit] Enable product attributes tests 2024-08-05 08:12:03 +02:00
Michał Pysiak
41607bc1ef
[API][Admin] Upgrade ProductReview (#16662)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | somewhat
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT
2024-08-05 07:09:27 +02:00
Jan Goralski
e171fca830
[API][Shop] Upgrade ProductReview 2024-08-02 13:20:22 +02:00
Jan Goralski
cdf02bdc15
[API][Admin] Upgrade ProductReview 2024-08-02 13:20:17 +02:00
Rafikooo
006786df0b
[Unit] Update Channels tests to include embedded shop billing data 2024-08-02 10:03:13 +02:00
Jan Góralski
0ec16d06c7
minor #16666 [Api][Admin] Enable Order resource (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][Admin] Enable Order resource
  [Api][Admin] section after the type of service
2024-08-01 16:56:17 +02:00
Wojdylak
9add00905a
[Api][Admin] Enable Order resource 2024-08-01 13:30:28 +02:00
Michał Pysiak
f73cae67e5
[API] Enable Taxon tests 2024-07-31 12:28:00 +02:00
Kamil Grygierzec
7958895598
[API] Upgrade Customer resource (#16619)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| 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-07-29 16:28:22 +02:00
Kamil Grygierzec
225ce2048d
review fixes 2024-07-25 14:44:48 +02:00
Rafikooo
47aeeb7638
[Unit] Restore promotion collection retrieval test 2024-07-25 13:12:46 +02:00
Kamil Grygierzec
c428451134
[API] Cover zones (#16628)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT
2024-07-25 12:21:50 +02:00
Michał Pysiak
f98814ed3f
[API] Enable disabled contract tests 2024-07-25 08:52:49 +02:00
Michał Pysiak
5360aeea3a
[API] Promotion Create and Update (#16624)
| Q               | A
|-----------------|-----
| Branch?         | api-platform-3 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | continuation of
https://github.com/Sylius/Sylius/pull/16613, related to
https://github.com/Sylius/Sylius/pull/16622
| 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
-->

Current endpoints state:
<img width="695" alt="image"
src="https://github.com/user-attachments/assets/b0a0c92e-f56a-435e-85d1-3a2dcc6ff9ca">
2024-07-25 08:40:17 +02:00
Rafikooo
09551d7a45
[Unit] Restore promotion updating tests 2024-07-25 08:22:46 +02:00
Rafikooo
af0208dbc7
[Unit] Restore promotion creating tests 2024-07-25 08:22:45 +02:00
Jan Goralski
0b0b77757b
[API] Cover admin side of shipments 2024-07-24 14:02:27 +02:00
Wojdylak
74b24bf672
[Api][Zone] Enable unit tests 2024-07-24 12:50:10 +02:00
Rafikooo
a321c7281a
[Unit] Restore promotion archiving and restoring tests 2024-07-24 10:44:16 +02:00
Kamil Grygierzec
0b79bc3e91
enable tests 2024-07-24 08:30:36 +02:00
Rafikooo
c950deb641
[Unit] Restore promotion removal tests 2024-07-23 10:45:08 +02:00
Rafikooo
8937030572
[Unit] Restore get promotion test 2024-07-22 14:12:29 +02:00
Jan Goralski
aca6bf70af [API] Cover tax rate 2024-07-19 10:22:28 +02:00
Jan Goralski
3c70db1f31 [API] Cover tax category 2024-07-19 10:22:28 +02:00
Jan Goralski
b17c5b3b9c [API][Admin] Fix avatar image contract tests 2024-07-19 07:57:00 +02:00
Grzegorz Sadowski
a1ce45fcfc
[API] Enable contract tests for Shipping Method resource 2024-07-16 09:41:18 +02:00
Grzegorz Sadowski
fb2f15563d
[API] Enable contract tests for Order Item Unit resource 2024-07-02 07:01:06 +02:00
Grzegorz Sadowski
09456e2d63
[API] Enable contract tests for Order Item resource 2024-07-02 07:01:05 +02:00
Wojdylak
b11d74c370 [API][CategoryGroup] Enable unit tests 2024-07-02 06:58:27 +02:00
Wojdylak
4e7c1824ab [API][ShippingCategory] Enable unit tests 2024-07-02 06:46:24 +02:00
Grzegorz Sadowski
1f2daf9dd2
Merge branch '2.0' into api-platform-3
* 2.0: (34 commits)
  [Admin] Normalize TwigComponents' variable names
  [Admin] Fix leftover camelCased variables and slight cleanup
  [Admin] Convert Twig variables, macro and block names to snake_case
  [Admin] Correct product attribute configuration template
  [Behat] Remove product attributes create and update pages
  [Admin] Improve product attribute form layout
  [Admin] Fix interaction with multiple accordions on the same view
  Update README.md
  [Admin] Add the rest of product attribute types twig hook configuration
  [Admin] Add product attribute select type twig hook configuration
  [Behat] Store the reference to the form element in the private property
  [Behat] Remove specific class form element definition and add missing parent class calls
  [Behat] Move getValidationErrors method to the base form element class
  [Behat] Use product attribute form element in managing product attributes context
  [Behat] Move form element definition to the base form element class
  [Behat] Extract product attribute form element from create and update pages
  [Behat] Move form element definition to base create and update pages classes
  [UI] Add missing product_attribute translation key
  [Behat] Improve both UI and API ManagingProductAttributesContext classes codestyle
  [Admin] Extend SelectAttributeConfigurationType to utilize dynamic LiveCollectionType
  ...
2024-06-20 07:53:07 +02:00
Kamil Grygierzec
29affee4cb enable tests 2024-06-18 13:52:37 +02:00
Michał Pysiak
4173be56cb Fixes after CR 2024-06-14 14:29:56 +02:00
Grzegorz Sadowski
3dfb1f5ea3
[API] Enable contract tests for Locale 2024-06-14 12:40:31 +02:00
Grzegorz Sadowski
7672f4847b
[API] Move OrderItemsTest to disabled test directory 2024-06-10 10:37:10 +02:00
Grzegorz Sadowski
7bc2763f27
Merge branch '2.0' into api-platform-3
* 2.0: (34 commits)
  Fix filters overflow
  [CS][DX] Refactor
  [Behat][Product] Fix behats steps
  [Behat][Product] Rename ProductTaxonomyFormElement to TaxonomyFormElement
  [Admin][Product][Taxons] Minor improvements
  [Admin][Product] Enable behat tests
  [Admin][Product] Add Autocomplete to main taxon
  [Admin][Product] Use snake_case insted of camelCase
  [Admin][Product] Set details section as default
  [Admin][Product] Add ProductTaxonsComponent
  [Admin][Product] Add Infinite tree library
  [Admin][Taxon] Add AllTaxons query function
  [Ui] Add TwigComponentTagPass class
  [Admin][Product] Use active option in section templates
  [Behat] Add locale suffix in product scenario steps
  [Behat] Move waitForFormUpdate methods into base product classes
  [Behat] Improve product channel pricings form elememnt codebase
  [Behat] Revert product attributes relatet changes
  [Admin] Extract slug form field to form theme block
  [Admin] Revert images form_widget formatting
  ...
2024-06-06 15:30:42 +02:00
Wojdylak
536bfa2a46 [API][Adjustment] Enable unit tests 2024-05-22 15:10:25 +02:00
Jan Goralski
d14bc6e1e2 [API] Cover adjustment contract tests 2024-05-22 15:10:25 +02:00
Jan Góralski
41b271d671
minor #16240 [API] Add Address resources (Wojdylak)
This PR was merged into the api-platform-3 branch.

Discussion
----------

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


Commits
-------
  Upgrade Address resource
  [API][Address] Upgrade Address resource
  [API][Address] Remove custom action for getting address log entry
  [API][Address] Add CustomerVoter
  [API][Address] Remove AddressDataPersister
  [API][Address] Connect AddressQueryCollectionExtensions and AddressQueryItemExtension into one QueryExtension
  [API][Address] Enable behat tests
  [API][Address] Enable unit tests
  [API][Address] Rename CustomerVoter to ShopUserVoter
2024-05-10 15:30:47 +02:00
Kamil Grygierzec
c9339d249f
Upgrade Address resource 2024-05-08 10:00:05 +02:00
Wojdylak
8e79ecf5fd
[API][Payment] Enable unit tests 2024-05-07 14:42:04 +02:00
Wojdylak
12c05d0f14
Resolve conflicts between 2.0 and api-platform-3 2024-04-23 08:12:51 +02:00
Kamil Grygierzec
a1cb99e412
Enable tests 2024-04-18 12:20:40 +02:00
Kamil Grygierzec
6010754bb6
Add get endpoints to different resources to enable iri generation 2024-04-18 12:20:40 +02:00
Grzegorz Sadowski
5b0c76f166
[API] Bring back catalog promotions tests 2024-04-05 07:34:56 +02:00
Grzegorz Sadowski
05122e73bb
[API] Adjust unit tests after upmerge 2024-04-05 07:34:56 +02:00