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

Fix test to use created workflow #26655

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix test to use created workflow

Before

Currently it uses a 'real' workflow & if we change the workflow the test breaks

  • which is not what the test is testing.

After

A workflow is created for the duration of the test for it to use.

Technical Details

The test checks loading & rendering from the database, not a specific workflow. This fixes to create a template for the test, rather than using a real one

Comments

towards #26650

Currently it uses a 'real' workflow & if we change the workflow the test breaks
- which is not what the test is testing. The test checks loading & rendering from
the database, not a specific workflow. This fixes to create a template
for the test, rather than using a real one
@civibot
Copy link

civibot bot commented Jun 25, 2023

(Standard links)

@civibot civibot bot added the master label Jun 25, 2023
@eileenmcnaughton
Copy link
Contributor Author

@colemanw also this - just touches a test but will make #26650 saner

@colemanw colemanw merged commit 35ef12e into civicrm:master Jun 29, 2023
@eileenmcnaughton eileenmcnaughton deleted the survey_3 branch June 29, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants