From 54d6fe2601dc686aeda606888a88ded07f2bee4f Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Wed, 26 Nov 2025 00:21:57 +0100 Subject: [PATCH] tests: Fix ComposerWebViewTest:get_html_for_draft Our test wasn't using the appropriate callback `.end()` function, which was failing the test with the latest Vala nightly releases, breaking the Flatpak build in our CI already too. This should fix that issue. --- test/client/composer/composer-web-view-test.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/client/composer/composer-web-view-test.vala b/test/client/composer/composer-web-view-test.vala index a1cc2506..ac3a1a66 100644 --- a/test/client/composer/composer-web-view-test.vala +++ b/test/client/composer/composer-web-view-test.vala @@ -69,7 +69,7 @@ public class Composer.WebViewTest : Components.WebViewTestCase string BODY = "

para

"; load_body_fixture(BODY); this.test_view.get_html_for_draft.begin(this.async_completion); - string html = this.test_view.get_html.end(async_result()); + string html = this.test_view.get_html_for_draft.end(async_result()); assert_equal(html, PageStateTest.COMPLETE_BODY_TEMPLATE.printf(BODY)); }