Logo: Relish

  1. Sign in

Project: Document-retrieval-api

Return legacy documents

  • @legacy_document
Scenarios
Return a legacy document from the file directory
Given
the unique identifier of the legacy document is "9868841"
And
the filename of the legacy document is "2-DL-Image-20160421-104326.pdf"
When
the legacy document is requested by type
Then
the correct legacy document is returned
Return an EDRS legacy document from the database
Given
the unique identifier of the legacy document is "3320"
And
the filename of the legacy document is "1 - Certified - Random Desc.pdf"
When
the legacy document is requested by type
Then
the correct legacy document is returned
Return a legacy E-Document from the database
Given
the unique identifier of the legacy document is "21416"
And
the filename of the legacy document is "2 - Certified - Lease.pdf"
When
the legacy e-document is requested by type
Then
the correct legacy document is returned
Return a not found message for a non-existing legacy document
Given
the unique identifier of the legacy document is "12345"
When
the legacy document is requested by type
Then
the correct file not found message is returned
Return a file deleted message for a deleted legacy document
Given
the unique identifier of the legacy document is "777"
When
the legacy document is requested by type
Then
the correct file deleted message is returned
Return an invalid id format message for an invalid document id
Given
the unique identifier of the legacy document is "xa1234x"
When
the legacy document is requested by type
Then
the correct invalid id format message is returned

Last published over 4 years ago by Matthew Thomas.