From 1b1b9fa708ea93635f341c086e264b01e3717a67 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 30 Oct 2015 17:28:55 -0400 Subject: new soledad-sync test this new test uses leap.soledad.client to perform an actual sync against the soledad server. closes: #7523 --- tests/white-box/webapp.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/white-box') diff --git a/tests/white-box/webapp.rb b/tests/white-box/webapp.rb index 8be6bde2..e689c143 100644 --- a/tests/white-box/webapp.rb +++ b/tests/white-box/webapp.rb @@ -57,10 +57,11 @@ class Webapp < LeapTest soledad_server = pick_soledad_server(soledad_config) if soledad_server assert_tmp_user do |user| - assert_user_db_exists(user) command = File.expand_path "../../helpers/soledad_sync.py", __FILE__ soledad_url = "https://#{soledad_server}/user-#{user.id}" - assert_run "#{command} #{user.id} #{user.session_token} #{soledad_url}" + soledad_cert = "/usr/local/share/ca-certificates/leap_ca.crt" + assert_run "#{command} #{user.id} #{user.session_token} #{soledad_url} #{soledad_cert} #{user.password}" + assert_user_db_exists(user) pass end end -- cgit v1.2.3