view plugins/filesystem_attachments/tests/FilesystemAttachments.php @ 9:0c9c57d9d4dd

maybe stragglers from 1.3.3, after another mistaken apt-get install of 1.2.3
author Charlie Root
date Fri, 04 Jan 2019 06:38:56 -0500
parents 4681f974d28b
children
line wrap: on
line source

<?php

class FilesystemAttachments_Plugin extends PHPUnit_Framework_TestCase
{

    function setUp()
    {
        include_once __DIR__ . '/../filesystem_attachments.php';
    }

    /**
     * Plugin object construction test
     */
    function test_constructor()
    {
        $rcube  = rcube::get_instance();
        $plugin = new filesystem_attachments($rcube->api);

        $this->assertInstanceOf('filesystem_attachments', $plugin);
        $this->assertInstanceOf('rcube_plugin', $plugin);
    }
}