public function MailhandlerTestCase::createMailboxes in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 tests/mailhandler.test \MailhandlerTestCase::createMailboxes()
1 call to MailhandlerTestCase::createMailboxes()
File
- tests/
mailhandler.test, line 45 - Tests for Mailhandler modules.
Class
- MailhandlerTestCase
- @file Tests for Mailhandler modules.
Code
public function createMailboxes() {
$dir = file_directory_temp() . '/mailhandler_test';
$files = scandir($dir);
$files = array_diff($files, array(
'..',
'.',
));
foreach ($files as $mailbox) {
$this
->createMailbox($mailbox);
}
}