예제 #1
0
 public function testcreate_ref_email()
 {
     $emailMan = new EmailMan();
     $emailMan->test = true;
     $result = $emailMan->create_ref_email(0, 'test', 'test text', 'test html', 'test campaign', '*****@*****.**', '1', '', array(), true, 'test from address');
     //test for email id returned and mark delete for cleanup
     $this->assertEquals(36, strlen($result));
     $email = new Email();
     $email->mark_deleted($result);
 }