- Issue created by @alexpott
- First commit to issue fork.
- π¬π§United Kingdom alexpott πͺπΊπ
I think this is just a case of extending core's Standard test so what I really think is necessary here is to improve the documentation.
- Merge request !111Issue #3439750: Remove \Drupal\FunctionalTests\Core\Recipe\StandardRecipeTest::rebuildContainer() β (Closed) created by vasike
- Status changed to Needs review
9 months ago 5:01pm 16 April 2024 - π·π΄Romania vasike Ramnicu Valcea
What i could find here was to "hack" a little
\Drupal\Tests\standard\Functional\StandardTest
Not sure how "hacky" it is ... but maybe will help to find cleanest solution to share the test code between Standard profile and recipe. - π·π΄Romania vasike Ramnicu Valcea
I would say there could be positive things like do not run module installer and rebuildContainer if not needed
and maybe it could help with others todo in StandardRecipeTestbut we'll see
- Status changed to Needs work
9 months ago 6:44pm 16 April 2024 - π¬π§United Kingdom alexpott πͺπΊπ
I think if we move
// Make sure the optional image styles are installed after enabling // the responsive_image module. \Drupal::service('module_installer')->install(['responsive_image']); $this->rebuildContainer();
into a protected method that was can override then we can still test with and without responsive image.
- Status changed to Needs review
9 months ago 9:05am 17 April 2024 - π·π΄Romania vasike Ramnicu Valcea
MR updated withe extra methods for overriding
Is it too much?
I thought maybe there could be other image styles for standard_responsive_images
- π·π΄Romania vasike Ramnicu Valcea
@alexpott simplified as much as I could. I hope it's ok.
- π¬π§United Kingdom alexpott πͺπΊπ
@vasike I've just pushed up the change that I think we should be making.
- π·π΄Romania vasike Ramnicu Valcea
it will fail the recipe tests .. sorry
- Status changed to RTBC
9 months ago 2:02pm 17 April 2024 - π·π΄Romania vasike Ramnicu Valcea
@alexpott thanks a lot for the support and guidance and patience.
and for solutioni think it's RTBC
- π¬π§United Kingdom alexpott πͺπΊπ
Committed and pushed 027b0d72427 to 11.x and cee3acd2d18 to 10.3.x. Thanks!
-
alexpott β
committed cee3acd2 on 10.3.x
Issue #3439750 by vasike, alexpott: Remove \Drupal\FunctionalTests\Core\...
-
alexpott β
committed cee3acd2 on 10.3.x
- Status changed to Fixed
9 months ago 3:50pm 17 April 2024 -
alexpott β
committed 027b0d72 on 11.x
Issue #3439750 by vasike, alexpott: Remove \Drupal\FunctionalTests\Core\...
-
alexpott β
committed 027b0d72 on 11.x
- 81795e55 committed on patch
Update recipe 10.3.x patch cee3acd2 Issue #3439750 by vasike, alexpott:...
- 81795e55 committed on patch
- 5b98a0db committed on patch
Update recipe 11.x patch 027b0d72 Issue #3439750 by vasike, alexpott:...
- 5b98a0db committed on patch
Automatically closed - issue fixed for 2 weeks with no activity.