From 2965a981b7ec22866fbdf2d567d87e2d068d3617 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 31 Jul 2015 16:04:08 -0400
Subject: [PATCH] Allow to search and import missing PGP pubkeys from keyservers using Publickey.js
---
tests/Selenium/Mail/List.php | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/tests/Selenium/Mail/List.php b/tests/Selenium/Mail/List.php
index 9c1d4a8..88fdb25 100644
--- a/tests/Selenium/Mail/List.php
+++ b/tests/Selenium/Mail/List.php
@@ -2,6 +2,19 @@
class Selenium_Mail_List extends Selenium_Test
{
+ protected function setUp()
+ {
+ parent::setUp();
+
+ bootstrap::init_imap();
+ bootstrap::purge_mailbox('INBOX');
+
+ // import email messages
+ foreach (glob(TESTS_DIR . 'Selenium/data/mail/list_00.eml') as $f) {
+ bootstrap::import_message($f, 'INBOX');
+ }
+ }
+
public function testList()
{
$this->go('mail');
--
Gitblit v1.9.1