Add basic test for attachment_reminder plugin
parent
cc1a1d95fe
commit
da2ebb272a
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
class AttachmentReminder_Plugin extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
function setUp()
|
||||
{
|
||||
include_once __DIR__ . '/../attachment_reminder.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Plugin object construction test
|
||||
*/
|
||||
function test_constructor()
|
||||
{
|
||||
$rcube = rcube::get_instance();
|
||||
$plugin = new attachment_reminder($rcube->plugins);
|
||||
|
||||
$this->assertInstanceOf('attachment_reminder', $plugin);
|
||||
$this->assertInstanceOf('rcube_plugin', $plugin);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue