- 🇳🇿New Zealand danielveza Brisbane, AU
+++ b/core/modules/comment/tests/src/Functional/CommentTypeTest.php @@ -192,6 +192,22 @@ public function testCommentTypeDeletion() { + $this->assertSession()->pageTextNotContains('node_dependent');
Should we add an assert here that the status code is a 200?
Needs a reroll for 10.1.x and the upgrade path tests
- 🇦🇺Australia dpi Perth, Australia
Since this is no longer about Node, tests should also be re-worked to use the generic EntityTest type.
- 🇦🇺Australia dpi Perth, Australia
Updated summary to reduce pointing to Node
- 🇮🇳India manishsaharan New Delhi
Re-rolled patch for 11.x. Keeping this in "Needs work" to update the test as per #62.
- last update
over 1 year ago 29,414 pass, 2 fail - 🇮🇳India vsujeetkumar Delhi
Addressed #61 "Should we add an assert here that the status code is a 200?".
Patch created, Keeping this in "Needs work" as we have failed test cases. - last update
about 1 year ago 30,043 pass, 3 fail - 🇮🇳India vsujeetkumar Delhi
Fixing Test cases, Please have a look. Keeps in "Needs Work" having some fail tests.
- last update
about 1 year ago 30,146 pass - Status changed to Needs review
about 1 year ago 8:16am 11 September 2023 - 🇮🇳India vsujeetkumar Delhi
Test passed, Moving to needs review. Please have a look.
- 🇬🇧United Kingdom joachim
Looks good, though I'm curious about the reason for these guards:
-
+++ b/core/modules/comment/src/Entity/CommentType.php @@ -103,4 +103,22 @@ public function getTargetEntityTypeId() { + if ($type) {
What does it mean if $type is empty?
-
+++ b/core/modules/comment/src/Entity/CommentType.php @@ -103,4 +103,22 @@ public function getTargetEntityTypeId() { + if (\Drupal::moduleHandler()->moduleExists($provider)) {
What does it mean if the provider module does not exist?
-
- Status changed to Needs work
about 1 year ago 2:49pm 11 September 2023