- 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Bartik is no longer there. Using Olivero instead.
- last update
over 1 year ago 29,412 pass - Status changed to Needs review
over 1 year ago 12:00pm 2 June 2023 - 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Last to do is making a change record like:
https://www.drupal.org/node/2939152 →and when released adding to documentation:
https://www.drupal.org/docs/develop/theming-drupal/defining-a-theme-with... → - Status changed to Needs work
over 1 year ago 4:29pm 2 June 2023 - 🇺🇸United States smustgrave
It does need a change record.
But nitpicky can the new functions have a return typehint.
Also for the test unless we are testing olivero specific code we should use stark.
- 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
With the test now using stark
- last update
over 1 year ago 29,408 pass, 1 fail - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - @martijn-de-wit opened merge request.
- 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Added an issue fork. Used patch from 33.
Then I alter the test to be in sync with the tests used for the logo option test.
---
hiding patches - Status changed to Needs review
over 1 year ago 12:24pm 5 June 2023 - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - @martijn-de-wit opened merge request.
- last update
over 1 year ago 29,413 pass, 1 fail - Status changed to Needs work
over 1 year ago 5:26pm 5 June 2023 - 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Test is failing because the Stark theme itself has no favicon.ico.
3 options to solve this.
- Use an other core theme for this test, (only Olivero has a favicon)
- Add a favicon to the Stark theme.
- Add a favicon to a test theme and use that.
- 🇺🇸United States smustgrave
Okay so lets just switch back to claro. sorry for the noise.
- last update
over 1 year ago 29,431 pass, 2 fail - 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Claro also doesn't have a favicon in its theme root 🙈 So I will use Olivero for that case. Rest of test cases still uses Stark.
- last update
over 1 year ago 29,433 pass, 1 fail - last update
over 1 year ago 29,433 pass, 1 fail - 🇳🇱Netherlands Martijn de Wit 🇳🇱 The Netherlands
Don't understand why the last one fails.
The same logic for testing a logo is not failing
$theme_installer->install(['test_theme']); \Drupal::configFactory() ->getEditable('system.theme') ->set('default', 'test_theme') ->save(); $theme = $theme_handler->getTheme('test_theme'); drupal_static_reset('theme_get_setting'); // Tests logo set in test_theme.info.yml. $expected = '/' . $theme->getPath() . '/images/logo2.svg'; $this->assertEquals($expected, theme_get_setting('logo.url', 'test_theme'));