diff options
author | Kali Kaneko <kali@futeisha.org> | 2015-10-30 17:28:55 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-11-17 08:27:16 -0400 |
commit | 1b1b9fa708ea93635f341c086e264b01e3717a67 (patch) | |
tree | a83d1b663e7d0fd26343b07301464a4201aa6027 /tests/white-box/webapp.rb | |
parent | 9ca3e3ede5beb8763233063315cdb3d6bc15bc98 (diff) |
new soledad-sync test
this new test uses leap.soledad.client to perform an actual sync against
the soledad server.
closes: #7523
Diffstat (limited to 'tests/white-box/webapp.rb')
-rw-r--r-- | tests/white-box/webapp.rb | 5 |
1 files changed, 3 insertions, 2 deletions
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 |