Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-921 Scheduler #66

Merged
merged 4 commits into from
Mar 23, 2021
Merged

UHF-921 Scheduler #66

merged 4 commits into from
Mar 23, 2021

Conversation

khalima
Copy link
Contributor

@khalima khalima commented Mar 22, 2021

How to test (if you have no setup etc.):

  • composer create-project City-of-Helsinki/drupal-helfi-platform:dev-main hel-platform --no-interaction --repository https://repository.drupal.hel.ninja/
  • Switch to corresponding branches:
    • composer require drupal/helfi_platform_config:dev-UHF-921_scheduler
  • Run make new
  • Login and go to create a test page: https://hel-platform.docker.sh/fi/node/add/page
    • Fill in a title and make sure the "published" checkbox is unticked
    • Set a "publish on" date/time for the node from the sidebar under Scheduling options/Ajastusvaihtoehdot.
      • Set the publish on time to one minute in the future and save the node
  • After the publish on time has passed, go to https://hel-platform.docker.sh/en/admin/config/system/cron and press "Run cron"
  • Check that the node gets published.
  • Repeat the same process but do it with unpublish instead.

Also check this:

Copy link
Contributor

@teroelonen teroelonen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works correctly and seems good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants