view plugins/filesystem_attachments/tests/FilesystemAttachments.php @ 4:1ab920879b88

do date sort if sorting on dates, to get sub-threads in date order. See also thunderbird-labels.php:407 et seq.
author Charlie Root
date Thu, 18 Jan 2018 07:47:04 -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);
    }
}