Commit graph

261 commits

Author SHA1 Message Date
Rafikooo
92636eaadb
[Unit] Remove obsolete SessionAwareAjaxTestCase test class 2024-09-24 10:09:13 +02:00
Michał Pysiak
091714d563 Remove unused ajax routes
# Conflicts:
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/customer_group.yml
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/product.yml
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/product_attribute.yml
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/product_option.yml
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/product_variant.yml
#	src/Sylius/Bundle/AdminBundle/Resources/config/routing/ajax/taxon.yml

# Conflicts:
#	tests/Controller/AdminProductAjaxTest.php
#	tests/Controller/AdminProductVariantAjaxTest.php
2024-09-18 08:57:06 +02:00
Grzegorz Sadowski
66fc398f0a Remove PHPUnits related with removed hateos dependency 2024-09-18 08:03:36 +02:00
Rafikooo
8fdf3531ee
[ECS] Apply ecs fixes in the tests directory 2023-12-05 09:13:32 +01:00
Jan Goralski
8cf9892c40
[Maintenance] Add final tests rule to arkitect 2023-11-14 14:55:42 +01:00
Rafikooo
5ccd65c1d3 [Maintenance] Update the copyright block 2023-06-15 07:06:38 +02:00
Mateusz Zalewski
a49d879e3d
[Symfony 6] Remove setting services for test as public 2022-10-06 07:23:44 +02:00
Mateusz Zalewski
011ad0bead
Return the whole application build 2022-10-05 10:41:43 +02:00
Mateusz Zalewski
1b5e74d25a
Extract session management in tests 2022-10-05 10:36:07 +02:00
Mateusz Zalewski
0b3fb445a9
Finish fixes in PHPUnit tests 2022-10-05 10:36:06 +02:00
Mateusz Zalewski
d2475f1635
[WIP] Fix PHPUnit tests with Symfony 6 and new session management 2022-10-05 10:36:06 +02:00
Ferror
47ac3b0c32 [maintenance]Prepare postgresql pipeline by making behat scenarios de-case-sensitive 2022-06-03 10:37:44 +02:00
Mateusz Zalewski
6e655d6368
Merge branch '1.10' into 1.11
* 1.10:
  [Security] XSS - SVG file upload vulnerability fixed
  [PHPUnit] Move subscribers tests to main directory
  Replace str_contains with strpos method to support PHP 7
  [Behat] Extract browser element and context
  [Behat] Add scenarios for securing access to account and dashboard after logging out
  Minor fixes for specs and unit tests of cache control subscribers
  Remove type declarations for properties due to supporting PHP 7.3
  [Maintenace] Test existence of new cache headers
  [UI] Force no-store cache directives for admin and customer account section
  suggested review changes
  listener added to finish response with X-Frame-Options sameorigin header
2022-03-14 15:09:18 +01:00
Mateusz Zalewski
410716251a
Merge branch '1.9' into 1.10
* 1.9:
  [Security] XSS - SVG file upload vulnerability fixed
  [PHPUnit] Move subscribers tests to main directory
  Replace str_contains with strpos method to support PHP 7
  [Behat] Extract browser element and context
  [Behat] Add scenarios for securing access to account and dashboard after logging out
  Minor fixes for specs and unit tests of cache control subscribers
  Remove type declarations for properties due to supporting PHP 7.3
  [Maintenace] Test existence of new cache headers
  [UI] Force no-store cache directives for admin and customer account section
  suggested review changes
  listener added to finish response with X-Frame-Options sameorigin header
2022-03-14 15:06:24 +01:00
Ernest Warwas
fc2d1f4447
assert response instead of one value from array 2022-03-10 14:38:34 +01:00
Ernest Warwas
602529f1f4
return taxons even phrase is not specified 2022-03-10 14:28:43 +01:00
Ernest Warwas
a46c93140e
[Admin] Undefined labels fixed in Taxon scope in CP
[Admin] Undefined labels fixed in Taxon scope in CP

removed choice name

set fallback locale to first translation

admin taxon ajax test
2022-03-10 14:28:43 +01:00
Ernest Warwas
c23643109c
suggested review changes 2022-03-07 11:09:07 +01:00
Ernest Warwas
0886078036
listener added to finish response with X-Frame-Options sameorigin header 2022-03-07 11:09:01 +01:00
Rafał Świerczek
d475f4570b Remove useless limit param 2022-02-09 17:54:43 +01:00
Rafał Świerczek
b1b8e45156 Move product variants limit to parameter bag 2022-02-09 17:33:44 +01:00
Rafał Świerczek
17054dbc00 Improve product variants tests 2022-02-09 12:13:08 +01:00
Rafał Świerczek
4d51bbf8fa Add void to test methods 2022-02-08 14:34:27 +01:00
Rafał Świerczek
8e1a32e95d Add copyright 2022-02-08 13:12:59 +01:00
Rafał Świerczek
04e3ea929c Clean code 2022-02-08 12:46:59 +01:00
Rafał Świerczek
f88b3627f5 Fix functional test for partial product variants 2022-02-08 12:13:24 +01:00
Rafał Świerczek
05531e8146 Add product variant pagination 2022-02-08 12:12:24 +01:00
Grzegorz Sadowski
71e4fd625d
feature #13339 Add Support for Symfony 5.4 (AdamKasp)
This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         |  master
| Bug fix?        | no
| New feature?    |yes
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

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

28a02a6a62 Prepare Sylius for support Symfony 5.4
d2c39e4059 remove usage of symfony internal method
fef624340b bump symofny verion from 5.4.0-RC1 to 5.4
63395281c3 update argument in UsernamePasswordToken
2964e0ed9d make workorounds over deprecated method in symofny 5.4
2021-12-06 11:29:53 +01:00
Adam Kasperczak
2964e0ed9d make workorounds over deprecated method in symofny 5.4 2021-12-02 12:12:12 +01:00
Kamil Kokot
9cd42afd86 Remove AdminApiBundle-related tests 2021-04-09 15:46:01 +01:00
SirDomin
e11571e0cb
change variant methods 2021-04-01 15:48:22 +02:00
Łukasz Chruściel
9a071e81f3
[Admin API] Test nulling of product options value on product variant 2021-02-22 18:08:59 +01:00
Łukasz Chruściel
1a0eb1cb76
[Admin API] Test change of product options value on product variant 2021-02-19 17:15:15 +01:00
Kamil Kokot
ab95047d3c
Apply coding standard fixes 2020-06-24 14:18:24 +02:00
Tomanhez
2a2c022d91 Add authorization test 2020-06-10 07:34:31 +02:00
Kamil Kokot
8da333996f
Apply coding standard fixes 2020-05-12 21:57:44 +02:00
Francis Hilaire
c400b69d1b Add product associations to avoid regression 2020-05-11 15:43:51 +02:00
Francis Hilaire
80221911d7 Fix ajax product search when too many products 2020-05-11 15:43:51 +02:00
Łukasz Chruściel
71a71d9c52
[Maintenance] Bump ApiTestCase to v5.0 2020-03-28 17:44:10 +01:00
Grzegorz Sadowski
e85f134fc8
[Checkout] Add missing unit test for using deprecated different billing address flag 2020-01-17 11:24:18 +01:00
Grzegorz Sadowski
8508786553
[Checkout] Fixes for keeping BC after address type changes 2020-01-17 10:49:50 +01:00
Mateusz Zalewski
6b60714e3f
Scenarios and implementation fixes 2020-01-16 18:53:48 +01:00
Mateusz Zalewski
98e0a3eda4
Change addresses handling in Behat and PHPUnit tests 2020-01-16 18:53:47 +01:00
Mateusz Zalewski
cdfcb85e5c
[API] Expose menu taxon in Channel Admin API 2020-01-12 23:35:37 +01:00
Mateusz Zalewski
20a2430fd4
Fix sylius_admin_api_cart_index route 2019-02-13 11:16:56 +01:00
Jais Djurhuus-Kempel
b6d19187f4
Add cart api index 2019-02-13 11:16:56 +01:00
Jais Djurhuus-Kempel
65589b9520
Fix unit test for orders index 2019-02-13 11:16:56 +01:00
Jais Djurhuus-Kempel
0c5be57a24
Added tests 2019-02-13 11:16:55 +01:00
Jais Djurhuus-Kempel
ad942197bc
Added API endpoint for order list 2019-02-13 11:16:55 +01:00
Jais Djurhuus-Kempel
55743161bf
Revert "Added API endpoint for order list"
This reverts commit 9a3d46892a.
2019-02-13 11:16:55 +01:00