Update expected error message

This commit is contained in:
2025-02-19 20:17:56 -06:00
parent 2502d102d9
commit be4f3c68f0

View File

@ -141,7 +141,7 @@ class SFTPQueryActionTest extends BaseSFTPTest
QueryInput queryInput = new QueryInput(TestUtils.TABLE_NAME_SFTP_FILE_VARIANTS);
assertThatThrownBy(() -> new QueryAction().execute(queryInput))
.hasMessageContaining("Could not find Backend Variant information for Backend");
.hasMessageContaining("Could not find Backend Variant information in session under key 'variant-options-table' for Backend");
QContext.getQSession().setBackendVariants(MapBuilder.of(TestUtils.TABLE_NAME_VARIANT_OPTIONS, 1));
QueryOutput queryOutput = new QueryAction().execute(queryInput);