Commit 3873d560 authored by Christian Fritsch's avatar Christian Fritsch Committed by Jonathan Smith
Browse files

Issue #3322425 by ankitv18, vipin.mittal18, chr.fritsch, jonathan1055, smustgrave: D10 Readiness

parent dd34c297
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  "license": "GPL-2.0-or-later",
  "minimum-stability": "dev",
  "require": {
    "drupal/core": "^8.7.7 || ^9",
    "drupal/core": "^8.7.7 || ^9 || ^10",
    "drupal/scheduler": "^2"
  }
}
+0 −2
Original line number Diff line number Diff line
@@ -2,7 +2,5 @@ name: 'Scheduler Content Moderation Integration Testing'
type: module
description: 'Support module for SCMI testing.'
package: Testing
core: 8.x
core_version_requirement: ^8 || ^9
dependencies:
  - scheduler_content_moderation_integration:scheduler_content_moderation_integration
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ class FormsTest extends SchedulerContentModerationBrowserTestBase {

    // Check both state fields are shown when the entity is enabled by default.
    $this->drupalGet($url);
    $this->assertResponse(200);
    $this->assertSession()->statusCodeEquals(200);
    $assert->ElementExists('xpath', '//select[@id = "edit-publish-state-0"]');
    $assert->ElementExists('xpath', '//select[@id = "edit-unpublish-state-0"]');

@@ -77,7 +77,7 @@ class FormsTest extends SchedulerContentModerationBrowserTestBase {

    // By default the Scheduler publish_on and unpublish_on fields are shown.
    $this->drupalGet($url);
    $this->assertResponse(200);
    $this->assertSession()->statusCodeEquals(200);
    $this->assertSession()->FieldExists('publish_on[0][value][date]');
    $this->assertSession()->FieldExists('publish_state[0]');
    $this->assertSession()->FieldExists('unpublish_on[0][value][date]');