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-10581 #565

Merged
merged 24 commits into from
Oct 9, 2024
Merged

UHF-10581 #565

merged 24 commits into from
Oct 9, 2024

Conversation

rpnykanen
Copy link
Contributor

@rpnykanen rpnykanen commented Oct 4, 2024

Added test features

How to install

  • Make sure your instance is up and running on correct branch.
    • git checkout UHF-10581
    • make fresh

How to test

  • Create new job listing, set publishing time from sidebar and save as unpublished
  • After the scheduled time, run drush cron
  • Run drush sqlc and select * from queue, you should see the indexing job in the table

*
* @group helfi_google_api
*/
class IndexingTest extends ExistingSiteTestBase {
Copy link
Member

Choose a reason for hiding this comment

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

You should test what happens if the API request fails as well.

Copy link

sonarcloud bot commented Oct 9, 2024

@rpnykanen rpnykanen merged commit 3a541b2 into dev Oct 9, 2024
2 checks passed
@rpnykanen rpnykanen deleted the UHF-10581 branch October 9, 2024 05:52
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