From b6bdfaca996b5cbd1556660d07e1dee6d6349c82 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 15 Jan 2023 09:53:09 +0100 Subject: [PATCH] tests: Use key-file folks backend If folks is built with the 'eds' backend it will get used by default. During testing the system address book should not be queried. It might even be impossible if the environment is not set up to connect to the session bus raising the following warning: (process:701522): folks-WARNING **: 09:13:54.291: Failed to find primary PersonaStore with type ID 'eds' and ID 'system-address-book'. Individuals will not be linked properly and creating new links between Personas will not work. The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution. Fixes: #427 --- tests/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/meson.build b/tests/meson.build index 61f9f96..7a528a4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -10,6 +10,8 @@ test_env = [ 'NO_AT_BRIDGE=1', 'GSETTINGS_SCHEMA_DIR=@0@/data'.format(meson.project_build_root()), 'CALLS_PLUGIN_DIR=@0@/plugins'.format(meson.project_build_root()), + 'FOLKS_BACKENDS_ALLOWED=key-file', + 'FOLKS_PRIMARY_STORE=key-file', ] test_cflags = [