From ee6bb29254857eaac4eba7e3613a186a8aa6bf01 Mon Sep 17 00:00:00 2001
From: llaffont <laurent.laffont@gmail.com>
Date: Mon, 20 Jan 2014 16:09:40 +0100
Subject: [PATCH] Correction test message erreur ssi champs mails cosmo ou
 profils incomplets

---
 tests/library/Class/MailTest.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/library/Class/MailTest.php b/tests/library/Class/MailTest.php
index 000c4b9ee85..35d671a28ea 100644
--- a/tests/library/Class/MailTest.php
+++ b/tests/library/Class/MailTest.php
@@ -117,6 +117,7 @@ class MailErrorsTest extends PHPUnit_Framework_TestCase {
 		Class_CosmoVar::getLoader()
 			->newInstanceWithId('mail_admin')
 			->setValeur('');
+		Class_Profil::getCurrentProfil()->setMailSite('');
 		$mail_testing = new Class_MailTesting();
 		$mail_testing->mailReturns(true);
 
-- 
GitLab