Skip to content

Commit

Permalink
Merge pull request #56 from praekeltfoundation/fix-edd-reminders
Browse files Browse the repository at this point in the history
Add a check to see that edd gets written to flow results
  • Loading branch information
HawkiesZA authored Oct 22, 2024
2 parents 1481ccf + 81c7750 commit 3db709a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: praekeltfoundation/flow_tester
ref: v0.3.0
ref: v0.3.5
path: flow_tester
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion Onboarding/QA/tests/edd-reminders_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ defmodule EDDRemindersTest do
text: ^edd_confirmation_text,
})
|> contact_matches(%{"edd" => ^full_edd})
# TODO: Add a test for the write_result
|> result_matches(%{name: "edd", value: ^full_edd})
end

test "edd confirmed -> main menu" do
Expand Down
4 changes: 4 additions & 0 deletions Onboarding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Pull requests are welcome. For major changes, please open an issue first to disc

Please make sure to update tests as appropriate.

## Tests

Running the tests requires elixir >= 1.17 (for Date.shift)

## Opening Journey as Markdown
You can open a Turn Journey as a markdown file by taking the url, removing `/app` and appending `?format=md`. A one click solution is to add the following code as a bookmark

Expand Down

0 comments on commit 3db709a

Please sign in to comment.