From 49c4fdaa96924ea0c4a9421b816f8046548be523 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Wed, 11 Jul 2018 10:49:59 +0200 Subject: [PATCH] Fix if statements. --- tests/desktop_upgrade_graphical.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/desktop_upgrade_graphical.pm b/tests/desktop_upgrade_graphical.pm index 01f866af..9d7de08b 100644 --- a/tests/desktop_upgrade_graphical.pm +++ b/tests/desktop_upgrade_graphical.pm @@ -28,7 +28,7 @@ sub run { # } #} - if (match_has_tag 'desktop_package_tool_thirdparty_enable', 10) { + if (match_has_tag('desktop_package_tool_thirdparty_enable', 10)) { assert_and_click 'desktop_package_tool_thirdparty_enable_cancel','left', 10; } @@ -62,7 +62,7 @@ sub run { # logged in (but don't fail if it doesn't as we're not testing # that) - if match_has_tag('desktop_package_tool_password'){ + if (match_has_tag('desktop_package_tool_password')){ type_very_safely(get_var('USER_PASSWORD','weakpassword')); assert_and_click('desktop_package_tool_authenticate','',30); }