Skip to content
Snippets Groups Projects

explo new storm with more volatile

Merged Sebastien ANDRE requested to merge explo_new_storm into master
Compare and Show latest version
1 file
+ 6
0
Preferences
Compare changes
@@ -25,6 +25,12 @@ abstract class NewsletterMailingTestCase extends ModelTestCase {
public function setup() {
parent::setup();
Zend_Registry::set('sql',
$this->mock()
->whenCalled('fetchAllByColumn')
->with('select distinct(bib_admin_users.mail) from bib_admin_users where disable_newsletter=1 and mail<>"" and mail is not null')
->answers([]));
$time_source = new TimeSourceForTest('2014-05-23 14:30:00');
Class_Newsletter::setTimeSource($time_source);