Skip to content

Scotland end to end test#737

Open
Christine-horrocks wants to merge 24 commits into
masterfrom
scotland_end_to_end_test
Open

Scotland end to end test#737
Christine-horrocks wants to merge 24 commits into
masterfrom
scotland_end_to_end_test

Conversation

@Christine-horrocks
Copy link
Copy Markdown
Contributor

No description provided.

…assessments to the Scotland schema

Updated the foreign keys in the Scotland schema tables to point to tables in the correct schema (not always the Scotland schema)

Gone through the lodge_ assessment use case. I have added in an is_scottish flag which can then be passed into the dependant methods and gateways.

I have only altered things which are necessary for migration not lodgement. I have added #TODO flags where things will need to be changed later.

In the gateways I have added the is_scottish flag which then allows the gateway to swap between schemas.

I have added tests for Scottish assessments in the gateway unit tests and end to end acceptance tests for lodging a Scottish assessment.
Adding an is_scottish flag to the even broadcaster in the lodge assessment file to be passed through to the notify new assessment to data warehouse use case.
This means we can prevent scottish assessments being added to the queue to go to the data warehouse.
Where the is_scottish param is added to gateways it has been made a named param. Test have also been added to cover get canonical use case and assessment address id gateway tests to fix ever passing test.
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.

1 participant