Problem/Motivation

InstallTest makes no HTTP requests but is a functional test

Proposed resolution

Convert InstallTest into a Kernel test

Remaining tasks

10.1.x version of the patch is needed.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

N/A

CommentFileSizeAuthor
#59 2664292-59.patch8.66 KB_pratik_
#58 2664292-58.patch8.51 KBSpokje
#53 interdiff_47-53.txt13.98 KBSpokje
#53 2664292-53.patch8.5 KBSpokje
#47 2664292-47.patch6.2 KBclaudiu.cristea
#42 2664292-42.patch8.05 KBclaudiu.cristea
#30 2664292-30-interdiff.txt2.49 KBharings_rob
#30 2664292-30.patch6.13 KBharings_rob
#25 2664292-25-interdiff.patch.txt5.23 KBharings_rob
#25 2664292-25.patch6.05 KBharings_rob
#24 2664292-24-interdiff.patch.txt5.18 KBharings_rob
#24 2664292-24.patch6.05 KBharings_rob
#17 interdiff-2664292-14-17.txt4.83 KBbircher
#17 2664292-17.patch5.14 KBbircher
#14 some_of_installtest_can-2664292-13.patch8.15 KBharings_rob
#13 some_of_installtest_can-2664292-12.patch14.1 KBharings_rob
#11 some_of_installtest_can-2664292-11.patch8.12 KBharings_rob
#10 some_of_installtest_can-2664292-10.patch8.16 KBharings_rob
#9 some_of_installtest_can-2664292-9.patch8.13 KBharings_rob
#7 some_of_installtest_can-2664292-7-interdiff.patch.txt5.29 KBharings_rob
#7 some_of_installtest_can-2664292-7.patch5.64 KBharings_rob
#4 2664292-4.patch5.89 KBxjm
#2 interdiff-1.txt767 bytesxjm
install_kernel_test.patch5.59 KBxjm
#2 2664292-1.patch6.58 KBxjm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm created an issue. See original summary.

xjm’s picture

Diff detected it as a copy, but here are the methods that are now in InstallKernelTest:

  1. testModuleNameLength() is safe to convert because it is testing a positive (that an exception is thrown).
  2. testEnableUserTwice() is safe because it uses assertIdentical(). (If the value were not present in config at all, it'd return NULL.

Attached adds an assertion to prove #2 as well.

xjm’s picture

Issue summary: View changes

 

xjm’s picture

FileSize
5.89 KB
+++ b/core/modules/system/src/Tests/Module/InstallTest.php
@@ -63,36 +51,20 @@ public function testRequiredModuleSchemaVersions() {
diff --git a/sites/simpletest/.htaccess b/sites/simpletest/.htaccess

derp. Removed from attached.

dawehner’s picture

It is always nice to improve the speed of our tests!

+++ b/core/modules/system/src/Tests/Module/InstallKernelTest.php
@@ -8,29 +8,29 @@
  */
-class InstallTest extends WebTestBase {
+class InstallKernelTest extends KernelTestBase {
 

What is the reason that we are converting to a deprecated test class? I just tried it out quickly, and it turns out, that the no problem using the modern alternative. I literally just changed the usestatement on top of the class.

Additionally this class is now really just about testing the module installer, so what about naming it ModuleInstallerKernelTest

testGetSchemaAtInstallTime(): Could not get it passing.
testRequiredModuleSchemaVersions: Could not get it passing.
testUninstallPostUpdateFunctions: This actually passed as a kernel test, but it should not have, because it was asserting a condition that is FALSE by default. So the attached patch also adds an assertion to the web test to ensure the coverage is sufficient (and one that will fail in a kernel test by default).

You can get them running by using the following lines:

class InstallTest extends KernelTestBase {

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    parent::setUp();

    // @todo ModuleInstaller calls system_rebuild_module_data which is part of
    //   system.module, see https://www.drupal.org/node/2208429.
    include_once $this->root . '/core/modules/system/system.module';

    \Drupal::service('module_installer')->install(['system', 'user', 'module_test']);
  }
+++ b/core/modules/system/src/Tests/Module/InstallKernelTest.php
@@ -8,29 +8,29 @@
-  public static $modules = array('module_test');
+  public static $modules = array('system', 'user', 'module_test');
 

If we want to test the installation process of modules, so of user and module_test we should use the module installer instead of the kernel test fake installing of modules.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

harings_rob’s picture

Ok, attached an attempt on resolving the remaining remarks. Don't know if the interdiff makes sense here but added it anyway.

dawehner’s picture

+++ b/core/modules/system/src/Tests/Module/InstallTest.php
@@ -58,36 +46,20 @@ public function testRequiredModuleSchemaVersions() {
   public function testUninstallPostUpdateFunctions() {
+    // First, to avoid false positives, ensure that the post_update function
+    // exists while the module is still installed.
+    $post_update_key_value = \Drupal::keyValue('post_update');
+    $existing_updates = $post_update_key_value->get('existing_updates', []);
+    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
+
+    // Uninstall the module.
     \Drupal::service('module_installer')->uninstall(['module_test']);
 
+
+    // Ensure the post update function is no longer listed.
     $post_update_key_value = \Drupal::keyValue('post_update');
     $existing_updates = $post_update_key_value->get('existing_updates', []);
     $this->assertFalse(in_array('module_test_post_update_test', $existing_updates));
   }

Isn't that one also possible as kernel test?

harings_rob’s picture

I moved all the tests to use the kerneltestbase

harings_rob’s picture

Sorry, it should use the database inside the container.

harings_rob’s picture

Last time.. had an unused use statement.

dawehner’s picture

Status: Needs review » Needs work

Lovely, just lovely.

+++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
@@ -0,0 +1,117 @@
+
+namespace Drupal\system\Tests\Module;
+
...
+use Drupal\KernelTests\KernelTestBase;
...
+ */
+class ModuleInstallerKernelTest extends KernelTestBase {
+

Note: The Namespace should be \Drupal\Tests\system\Kernel\Module and the path system/tests/src/Kernel/Module ...

harings_rob’s picture

Moved the test's location.

harings_rob’s picture

harings_rob’s picture

Status: Needs work » Needs review
dawehner’s picture

I love those changes :)

+++ b/core/modules/system/tests/src/Kernel/Module/ModuleInstallerKernelTest.php
@@ -0,0 +1,117 @@
+    $module_name = 'invalid_module_name_over_the_maximum_allowed_character_length';
+    $message = new FormattableMarkup('Exception thrown when enabling module %name with a name length over the allowed maximum', ['%name' => $module_name]);
+    try {
+      $this->container->get('module_installer')->install([$module_name]);
+      $this->fail($message->__toString());
+    }
+    catch (ExtensionNameLengthException $e) {
+      $this->assertTrue(TRUE, $message->__toString());
+    }
+
+    // Since for the UI, the submit callback uses FALSE, test that too.
+    $message = new FormattableMarkup('Exception thrown when enabling as if via the UI the module %name with a name length over the allowed maximum', ['%name' => $module_name]);
+    try {
+      $this->container->get('module_installer')->install([$module_name], FALSE);
+      $this->fail($message);
+    }
+    catch (ExtensionNameLengthException $e) {
+      $this->assertTrue(TRUE, $message->__toString());
+    }

IMHO this should be splitted up into two test methods using $this->setExceptedException

bircher’s picture

I had opened this issue in my browser some time ago to review it and now did before refreshing the; page silly me!
To review the diff easier I reshuffled the methods to their original order and used `git diff -M40%` to detect the renaming of the file.

Then I also addressed @dawehners comment in 16, since that allows to remove the need for FormattableMarkup.

I would mark it as RTBC if it wasn't for having changed the last method.

claudiu.cristea’s picture

Great patch! This is a review for #14.

Please add also an interdiff.txt on each patch, regardless of how small is the change, so the reviewers can understand better what was changed since the last patch.

  1. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    // @todo ModuleInstaller calls system_rebuild_module_data which is part of
    +    // system.module, see https://www.drupal.org/node/2208429.
    

    @todo following lines need to be indented.

  2. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    \Drupal::service('module_installer')->install([
    ...
    +    \Drupal::service('module_installer')->install(['user'], FALSE);
    ...
    +      $this->container->get('module_installer')->install([$module_name], FALSE);
    ...
    +    \Drupal::service('module_installer')->uninstall(['module_test']);
    

    Hm. I see we are using module_installer service in 5 times, in this class. Wouldn't it be better if we add it as a protected property and we set it in setUp()?

    $this->moduleHandler = $this->container->get('module_handler');
    
  3. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    $this->assertSame($this->config('core.extension')->get('module.user'), 0);
    ...
    +    $this->assertNotSame($this->config('core.extension')->get('module.does_not_exist'), 0);
    ...
    +    $this->assertSame($value, 'varchar');
    

    Usually in PHPUnite tests we are putting the expectation as first argument, even the result is the same. I would invert the order of arguments.

  4. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    try {
    ...
    +      $this->fail($message->__toString());
    +    }
    +    catch (ExtensionNameLengthException $e) {
    +      $this->assertTrue(TRUE, $message->__toString());
    +    }
    ...
    +    try {
    ...
    +      $this->fail($message);
    +    }
    +    catch (ExtensionNameLengthException $e) {
    +      $this->assertTrue(TRUE, $message->__toString());
    +    }
    

    Consider using $this->setExpectedException() instead of try {...} catch() {...} workaround. See https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writ...

  5. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
    ...
    +    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
    

    With phpunit we have a dedicated assertion to be used for testing array subsets:

    $this->assertArraySubset(['module_test_post_update_test'], $existing_updates);
    

    Note: Unfortunately we don't have the same negation assertion.

  6. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +    $this->assertTrue($version > 0, 'System module version is > 0.');
    ...
    +    $this->assertTrue($version > 0, 'User module version is > 0.');
    

    Use $this->assertGreaterThan() instead. You can drop the message.

  7. +++ b/core/modules/system/src/Tests/Module/ModuleInstallerKernelTest.php
    @@ -0,0 +1,117 @@
    +   * Verify that drupal_get_schema() can be used during module installation.
    

    s/Verify/Verifies

dawehner’s picture

Let's make it even a bit better :)

  1. +++ b/core/modules/system/tests/src/Kernel/Module/ModuleInstallerKernelTest.php
    @@ -45,28 +55,17 @@ public function testEnableUserTwice() {
    +    $this->assertTrue($version > 0, 'System module version is > 0.');
    ...
    +    $this->assertTrue($version > 0, 'User module version is > 0.');
    

    Could be assertGreaterThan

  2. +++ b/core/modules/system/tests/src/Kernel/Module/ModuleInstallerKernelTest.php
    @@ -45,28 +55,17 @@ public function testEnableUserTwice() {
    +    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
    

    What about using $this->assertContains?

  3. +++ b/core/modules/system/tests/src/Kernel/Module/ModuleInstallerKernelTest.php
    @@ -89,29 +88,24 @@ public function testUninstallPostUpdateFunctions() {
    +   * @expectedException \Drupal\Core\Extension\ExtensionNameLengthException
    ...
    +   * @expectedException \Drupal\Core\Extension\ExtensionNameLengthException
    

    Note: https://thephp.cc/news/2016/02/questioning-phpunit-best-practices

claudiu.cristea’s picture

@dawehner cross-review :)

dawehner’s picture

@claudiu.cristea
That's kind of a luxury problem to have :P

dawehner’s picture

Status: Needs review » Needs work

Just updating the status now.

dawehner’s picture

Oh yeah one thing, IMHO the tests could now live inside core/tests instead of core/modules/system as well.

harings_rob’s picture

Status: Needs work » Needs review
FileSize
6.05 KB
5.18 KB

Attached the updates. I hope I created the diffs correctly.

harings_rob’s picture

Namespacing...

The last submitted patch, 24: 2664292-24.patch, failed testing.

dawehner’s picture

  1. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -59,13 +68,13 @@ public function testEnableUserTwice() {
    -    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
    +    $this->assertArraySubset(['module_test_post_update_test'], $existing_updates);
    
    @@ -76,10 +85,10 @@ public function testUninstallPostUpdateFunctions() {
    -    $this->assertTrue(in_array('module_test_post_update_test', $existing_updates));
    +    $this->assertArraySubset(['module_test_post_update_test'], $existing_updates);
    

    Can't you use assertContains to be more explicit here?

  2. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -89,23 +98,21 @@ public function testUninstallPostUpdateFunctions() {
       public function testModuleNameLengthFalse() {
    

    that method is a bit unclear, what about using testModuleNameLengthWithDependencyCheck?

claudiu.cristea’s picture

Status: Needs review » Needs work

Great, we're almost done. Few nits yet to be fixed:

  1. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -1,31 +1,50 @@
    +   * @var $moduleInstaller \Drupal\Core\Extension\ModuleInstallerInterface;
    

    Remove $moduleInstaller. In properties docs we only put: @var type-hint.

  2. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -1,31 +1,50 @@
    +  private $moduleInstaller;
    

    This should be 'protected' not 'private'. Private blocks an hypothetical extension class that wants to change the definition (e.g. wants to add a default value).

  3. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -45,21 +68,29 @@ public function testEnableUserTwice() {
    +    $post_update_key_value = \Drupal::keyValue('post_update');
    ...
    +    $this->assertArraySubset(['module_test_post_update_test'], $existing_updates);
    ...
         $this->assertFalse(in_array('module_test_post_update_test', $existing_updates));
    

    Yepp, @dawehner idea from #19.2 is better than mine because assertContains() has also an assertNotContains() counter assertion. Please fix all the assertTrue(in_array()) and assertFalse(in_array()) occurrences.

  4. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -70,24 +101,18 @@ public function testUninstallPostUpdateFunctions() {
    +    $this->setExpectedException(ExtensionNameLengthException::class);
    ...
    +    $this->setExpectedException(ExtensionNameLengthException::class);
    

    Let's use @dawehner's recommendation from #19. Read https://thephp.cc/news/2016/02/questioning-phpunit-best-practices. Sorry to confuse you in #18. So, expectException() seems the best practice in asserting exceptions.

claudiu.cristea’s picture

Wow, a second cross-review in the same issue :)

harings_rob’s picture

Updated the patches. I keep using setExpectedException as expectException is only available after phpUnit 5.2.

harings_rob’s picture

Status: Needs work » Needs review
claudiu.cristea’s picture

Status: Needs review » Reviewed & tested by the community

Nice!

xjm’s picture

Issue tags: +rc eligible

As a testing improvement for an individual test, this is an rc eligible change per: https://www.drupal.org/core/d8-allowed-changes#rc

dawehner’s picture

+++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
@@ -15,9 +15,9 @@ class ModuleInstallerKernelTest extends KernelTestBase {
+   * @var \Drupal\Core\Extension\ModuleInstallerInterface;

Nitpick: we don't use semicolons in comments :)

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
  1. similarity index 36%
    rename from core/modules/system/src/Tests/Module/InstallTest.php
    

    I would have expected some methods to be removed from this class.

  2. +++ b/core/tests/Drupal/KernelTests/Core/Module/ModuleInstallerKernelTest.php
    @@ -1,31 +1,50 @@
    +    // @todo ModuleInstaller calls system_rebuild_module_data which is part of
    +    //   system.module, see https://www.drupal.org/node/2208429.
    +    include_once $this->root . '/core/modules/system/system.module';
    

    This test should just rely on system module rather than doing this include.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Mile23’s picture

claudiu.cristea’s picture

Reworked as the patch doesn't apply anymore (the web test has moved as functional), so no interdiff. This patch decreases the locally test run from 27.6 to 11.61 seconds.

Replying to #36.2:

This test should just rely on system module rather than doing this include.

@alexpott. no, we cannot rely on system module. The test, specifically ::testRequiredModuleSchemaVersions(), needs the system.module to be installed using the module_installer service. So, we'll have to use the service rather than adding the system.module in the protected static $module array. So we'll have to explicitly include the module main file.

claudiu.cristea’s picture

Version: 8.6.x-dev » 8.8.x-dev
alexpott’s picture

Let's get #2926068: Deprecate system_rebuild_module_data() and remove usages in core done first and then the problem is moot.

claudiu.cristea’s picture

claudiu.cristea’s picture

Status: Postponed » Needs review
FileSize
6.2 KB

Fixed #44. I've created the patch with git diff --cached -M10%, there's no interdiff.

klausi’s picture

Status: Needs review » Needs work
Issue tags: +DevDaysTransylvania
  1. +++ b/core/modules/system/tests/src/Kernel/Module/InstallTest.php
    @@ -1,44 +1,64 @@
    -    // @see module_test_install()
    

    We should keep this @see reference.

  2. +++ b/core/modules/system/tests/src/Kernel/Module/InstallTest.php
    @@ -71,24 +99,18 @@ public function testUninstallPostUpdateFunctions() {
    +   * Tests that an exception is thrown when a module name is too long.
    

    This just repeats the name of the previous test function, so they have the same doc block. What is the difference?

  3. +++ b/core/modules/system/tests/src/Kernel/Module/InstallTest.php
    @@ -71,24 +99,18 @@ public function testUninstallPostUpdateFunctions() {
    +  public function testModuleNameLengthWithDependencyCheck() {
    

    I think this name is wrong, should this be "testModuleNameLengthWithoutDependencyCheck()"? Which is a bit long, maybe you can come with something better?

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Spokje’s picture

Version: 9.3.x-dev » 9.4.x-dev
Status: Needs work » Needs review
FileSize
8.5 KB
13.98 KB

- Rerolled against 9.4.x-dev
- Merged latest commits
- Tried to address 1., 2. and 3. in #48

Interdiff isn't too useful, I fear, since it won't detect the renaming of the test class.

Back to NR.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Status: Needs review » Needs work

For a reroll into 10.1.x please.

Will do a review after that

xjm’s picture

Issue summary: View changes
Spokje’s picture

FileSize
8.51 KB
_pratik_’s picture

Rerolled for 10.1.x

_pratik_’s picture

My bad @Spokje, forgot to reload page.

Spokje’s picture

Issue summary: View changes
Status: Needs work » Needs review

Rerolled.

Looking at the average comment rate in this issue, I'll be back in about one year to reroll for 10.4/10.5 😈

The last submitted patch, 58: 2664292-58.patch, failed testing. View results

Spokje’s picture

known random JS test failure, ordered retest.

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

@_pratik_ the patch before #58 was for 10.1 already

Reviewing #58
Looks good for me thanks!

The last submitted patch, 58: 2664292-58.patch, failed testing. View results

The last submitted patch, 58: 2664292-58.patch, failed testing. View results

alexpott’s picture

Version: 10.1.x-dev » 10.0.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed 8a2f6514b7 to 10.1.x and 02268796de to 10.0.x. Thanks!

Backported to 10.0.x because this is a test-only change. Property typehinting makes this unsuitable for 9.5.x

  • alexpott committed 8a2f6514 on 10.1.x
    Issue #2664292 by harings_rob, xjm, Spokje, claudiu.cristea, bircher,...

  • alexpott committed 02268796 on 10.0.x
    Issue #2664292 by harings_rob, xjm, Spokje, claudiu.cristea, bircher,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.