From 2e88fb12656cb3501a6862c3e110299b672eb2a5 Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Thu, 16 May 2024 10:49:00 +0200 Subject: [PATCH] create test configuration --- tests/collabora.robot | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/collabora.robot b/tests/collabora.robot index 2f6807a..17fd44b 100644 --- a/tests/collabora.robot +++ b/tests/collabora.robot @@ -10,12 +10,11 @@ Check if collabora is installed correctly Set Suite Variable ${module_id} ${output.module_id} Check if collabora can be configured - ${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{}' - ... return_rc=True return_stdout=False - Should Be Equal As Integers ${rc} 0 - -Check if collabora works as expected - ${rc} = Execute Command curl -f http://127.0.0.1/collabora/ + ${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{ + "host": "collabora.nethserver.org", + "http2https": true, + "lets_encrypt": true, + "admin_password": "password"}' ... return_rc=True return_stdout=False Should Be Equal As Integers ${rc} 0