Skip to content

Commit c101207

Browse files
committed
add MockEmail class
1 parent e1453a8 commit c101207

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

system/Test/Mock/MockEmail.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php namespace CodeIgniter\Test\Mock;
2+
3+
use CodeIgniter\Email\Email;
4+
5+
class MockEmail extends Email
6+
{
7+
public function send($autoClear = true)
8+
{
9+
$this->clear();
10+
11+
return true;
12+
}
13+
}

0 commit comments

Comments
 (0)