diff --git a/elementary/monitor/alerts/alert_messages/builder.py b/elementary/monitor/alerts/alert_messages/builder.py index fc08dee1f..1865413bb 100644 --- a/elementary/monitor/alerts/alert_messages/builder.py +++ b/elementary/monitor/alerts/alert_messages/builder.py @@ -534,7 +534,7 @@ def _get_alert_result_blocks( ) title = "Test Result" elif isinstance(alert, ModelAlertModel): - if alert.materialization == "snapshot": + if alert.message: result_blocks = self._get_result_blocks( result_message=alert.message, ) diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-False_tags-False_owners-True_path-False_suppression-True_materialization-table_full_refresh-True_env-True.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-False_tags-False_owners-True_path-False_suppression-True_materialization-table_full_refresh-True_env-True.json index 3f80c3496..76330cd32 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-False_tags-False_owners-True_path-False_suppression-True_materialization-table_full_refresh-True_env-True.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-False_tags-False_owners-True_path-False_suppression-True_materialization-table_full_refresh-True_env-True.json @@ -66,7 +66,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -76,6 +76,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in table my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-True_tags-False_owners-True_path-True_suppression-True_materialization-table_full_refresh-False_env-True.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-True_tags-False_owners-True_path-True_suppression-True_materialization-table_full_refresh-False_env-True.json index 29b03bb2b..f585e8df3 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-True_tags-False_owners-True_path-True_suppression-True_materialization-table_full_refresh-False_env-True.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-None_link-True_tags-False_owners-True_path-True_suppression-True_materialization-table_full_refresh-False_env-True.json @@ -71,7 +71,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -81,6 +81,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in table my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-False_tags-True_owners-True_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-False_tags-True_owners-True_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json index 2b267af1c..7e4d496e7 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-False_tags-True_owners-True_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-False_tags-True_owners-True_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json @@ -66,7 +66,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -76,6 +76,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in incremental my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-True_tags-True_owners-False_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-True_tags-True_owners-False_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json index 1bc107d73..32eca4de2 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-True_tags-True_owners-False_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-error_link-True_tags-True_owners-False_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json @@ -71,7 +71,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -81,6 +81,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in view my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-False_owners-False_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-False_owners-False_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json index 2e31c93e0..5d939296f 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-False_owners-False_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-False_owners-False_path-True_suppression-False_materialization-incremental_full_refresh-True_env-False.json @@ -71,7 +71,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -81,6 +81,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in incremental my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-True_owners-True_path-True_suppression-True_materialization-table_full_refresh-True_env-True.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-True_owners-True_path-True_suppression-True_materialization-table_full_refresh-True_env-True.json index 3390a9aaa..8c343a4f3 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-True_owners-True_path-True_suppression-True_materialization-table_full_refresh-True_env-True.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-fail_link-True_tags-True_owners-True_path-True_suppression-True_materialization-table_full_refresh-True_env-True.json @@ -71,7 +71,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -81,6 +81,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in table my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-False_tags-True_owners-True_path-True_suppression-True_materialization-view_full_refresh-False_env-False.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-False_tags-True_owners-True_path-True_suppression-True_materialization-view_full_refresh-False_env-False.json index ad26ec196..62e15ee3d 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-False_tags-True_owners-True_path-True_suppression-True_materialization-view_full_refresh-False_env-False.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-False_tags-True_owners-True_path-True_suppression-True_materialization-view_full_refresh-False_env-False.json @@ -66,7 +66,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -76,6 +76,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in view my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-True_tags-True_owners-True_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-True_tags-True_owners-True_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json index 4d4ed80a8..cf7619d32 100644 --- a/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-True_tags-True_owners-True_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json +++ b/tests/unit/alerts/alert_messages/fixtures/adaptive_card_model_alert_status-warn_link-True_tags-True_owners-True_path-False_suppression-True_materialization-view_full_refresh-True_env-True.json @@ -71,7 +71,7 @@ "actions": [ { "type": "Action.ToggleVisibility", - "title": "Model Configuration", + "title": "Result", "targetElements": [ "expandable-00000000-0000-0000-0000-000000000001" ] @@ -81,6 +81,52 @@ { "type": "Container", "id": "expandable-00000000-0000-0000-0000-000000000001", + "items": [ + { + "type": "Container", + "separator": true, + "items": [ + { + "type": "TextBlock", + "text": "**Result Message**", + "wrap": true + }, + { + "type": "Container", + "style": "emphasis", + "items": [ + { + "type": "RichTextBlock", + "inlines": [ + { + "type": "TextRun", + "text": "Database Error in view my_failed_dbt_model\n(models/example/my_failed_dbt_model.sql)\n syntax error at or near \")\"\n LINE 19: \t); \n\t\t^", + "fontType": "Monospace" + } + ] + } + ] + } + ] + } + ], + "isVisible": false + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.ToggleVisibility", + "title": "Model Configuration", + "targetElements": [ + "expandable-00000000-0000-0000-0000-000000000002" + ] + } + ] + }, + { + "type": "Container", + "id": "expandable-00000000-0000-0000-0000-000000000002", "items": [ { "type": "Container", diff --git a/tests/unit/alerts/alert_messages/test_alert_utils.py b/tests/unit/alerts/alert_messages/test_alert_utils.py index 704f37b36..1433d18c1 100644 --- a/tests/unit/alerts/alert_messages/test_alert_utils.py +++ b/tests/unit/alerts/alert_messages/test_alert_utils.py @@ -76,7 +76,7 @@ def build_base_model_alert_model( full_refresh: bool, detected_at: datetime, alias: str, - message: str, + message: Optional[str] = None, suppression_interval: Optional[int] = None, env: Optional[str] = None, ) -> ModelAlertModel: diff --git a/tests/unit/alerts/alert_messages/test_model_alert_message.py b/tests/unit/alerts/alert_messages/test_model_alert_message.py index 7f6457ea2..21fb2c6fa 100644 --- a/tests/unit/alerts/alert_messages/test_model_alert_message.py +++ b/tests/unit/alerts/alert_messages/test_model_alert_message.py @@ -15,18 +15,18 @@ @pytest.mark.parametrize( - "status,has_link,has_tags,has_owners,has_path,has_suppression_interval,materialization,has_full_refresh,has_env", + "status,has_link,has_tags,has_owners,has_path,has_suppression_interval,has_message,materialization,has_full_refresh,has_env", [ - ("fail", True, True, True, True, True, "table", True, True), - ("fail", False, False, False, False, False, "table", False, False), - ("warn", True, True, True, False, True, "view", True, True), - ("error", False, True, True, True, False, "incremental", True, False), - (None, True, False, True, True, True, "table", False, True), - ("warn", False, True, False, True, True, "incremental", False, False), - ("error", True, True, False, False, True, "view", True, True), - (None, False, False, True, False, True, "table", True, True), - ("fail", True, False, False, True, False, "incremental", True, False), - ("warn", False, True, True, True, True, "view", False, False), + ("fail", True, True, True, True, True, True, "table", True, True), + ("fail", False, False, False, False, False, False, "table", False, False), + ("warn", True, True, True, False, True, True, "view", True, True), + ("error", False, True, True, True, False, True, "incremental", True, False), + (None, True, False, True, True, True, True, "table", False, True), + ("warn", False, True, False, True, True, False, "incremental", False, False), + ("error", True, True, False, False, True, True, "view", True, True), + (None, False, False, True, False, True, True, "table", True, True), + ("fail", True, False, False, True, False, True, "incremental", True, False), + ("warn", False, True, True, True, True, True, "view", False, False), ], ) def test_get_model_alert_message_body( @@ -37,12 +37,21 @@ def test_get_model_alert_message_body( has_owners: bool, has_path: bool, has_suppression_interval: bool, + has_message: bool, materialization: str, has_full_refresh: bool, has_env: bool, ): env = "Test Env" if has_env else None path = "models/test_model.sql" if has_path else "unknown_path" + message = ( + f"""Database Error in {materialization} my_failed_dbt_model\n""" + f"""(models/example/my_failed_dbt_model.sql)\n""" + f""" syntax error at or near ")"\n""" + f""" LINE 19: \t); \n\t\t^""" # noqa: E702 + if has_message + else None + ) model_alert_model = build_base_model_alert_model( status=status, tags=["tag1", "tag2"] if has_tags else None, @@ -52,7 +61,7 @@ def test_get_model_alert_message_body( full_refresh=has_full_refresh, detected_at=datetime(2025, 2, 3, 13, 21, 7, tzinfo=timezone.utc), alias="test_model", - message=None, + message=message, suppression_interval=24 if has_suppression_interval else None, env=env, ) diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_green.json b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_green.json index 7b2ca00ca..3e9e41d7c 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_green.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_green.json @@ -89,5 +89,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_no_color.json b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_no_color.json index 3a80ccfac..a5728be12 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_no_color.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_no_color.json @@ -89,5 +89,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_red.json b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_red.json index 1029ea203..782127877 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_red.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_red.json @@ -89,5 +89,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_yellow.json b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_yellow.json index f379172ba..91289a75f 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_yellow.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/all_blocks_yellow.json @@ -89,5 +89,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/all_icons.json b/tests/unit/messages/formats/adaptive_cards/fixtures/all_icons.json index cf93cf6e7..38e3d6917 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/all_icons.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/all_icons.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/bullet_list.json b/tests/unit/messages/formats/adaptive_cards/fixtures/bullet_list.json index 23b4ede9d..325ae18fa 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/bullet_list.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/bullet_list.json @@ -28,5 +28,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_200.json b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_200.json index 832e60036..b561a7b9d 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_200.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_200.json @@ -24,5 +24,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_50.json b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_50.json index 20e2e7a01..aadd0675c 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_50.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_50.json @@ -24,5 +24,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_500.json b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_500.json index 9651f8f87..998bad018 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_500.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/code_block_500.json @@ -24,5 +24,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/colored_header.json b/tests/unit/messages/formats/adaptive_cards/fixtures/colored_header.json index 5738a709d..4a69420c8 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/colored_header.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/colored_header.json @@ -21,5 +21,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/divider_blocks.json b/tests/unit/messages/formats/adaptive_cards/fixtures/divider_blocks.json index 97616dc4c..b8194351a 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/divider_blocks.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/divider_blocks.json @@ -40,5 +40,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/expandable_block.json b/tests/unit/messages/formats/adaptive_cards/fixtures/expandable_block.json index 36d6ebd6c..3f338627c 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/expandable_block.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/expandable_block.json @@ -38,5 +38,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/fact_list.json b/tests/unit/messages/formats/adaptive_cards/fixtures/fact_list.json index 64942a9ae..9442371a7 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/fact_list.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/fact_list.json @@ -17,5 +17,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/nested_expandable.json b/tests/unit/messages/formats/adaptive_cards/fixtures/nested_expandable.json index c53b6e844..a805f806e 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/nested_expandable.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/nested_expandable.json @@ -73,5 +73,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/simple_header.json b/tests/unit/messages/formats/adaptive_cards/fixtures/simple_header.json index f56f090bb..c99699b6f 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/simple_header.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/simple_header.json @@ -21,5 +21,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_1000.json b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_1000.json index f7a44c0fa..0f2d4a0a0 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_1000.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_1000.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_200.json b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_200.json index a488e897e..7fa714bd2 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_200.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_200.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_50.json b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_50.json index 9d43c2072..ea9aba859 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_50.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_50.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_500.json b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_500.json index 7eee3618b..7699a4724 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_500.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/text_length_500.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" } diff --git a/tests/unit/messages/formats/adaptive_cards/fixtures/text_styles.json b/tests/unit/messages/formats/adaptive_cards/fixtures/text_styles.json index 01643cc8c..b5704f98a 100644 --- a/tests/unit/messages/formats/adaptive_cards/fixtures/text_styles.json +++ b/tests/unit/messages/formats/adaptive_cards/fixtures/text_styles.json @@ -13,5 +13,5 @@ ] } ], - "version": "1.6" + "version": "1.5" }