CE-881 - Update error message

This commit is contained in:
2024-04-01 15:47:25 -05:00
parent 1ff2bc60ae
commit d56637b9dd

View File

@ -575,15 +575,15 @@ class QJavalinProcessHandlerTest extends QJavalinTestBase
/*******************************************************************************
** test calling download file with missing filePath
** test calling download file without needed query-string params
**
*******************************************************************************/
@Test
public void test_downloadFileMissingFilePath()
public void test_downloadFileMissingQueryStringParams()
{
HttpResponse<String> response = Unirest.get(BASE_URL + "/download/myTestFile.txt").asString();
assertEquals(400, response.getStatus());
assertTrue(response.getBody().contains("A filePath was not provided"));
assertTrue(response.getBody().contains("Missing query parameters to identify file"));
}