Mercurial > hg > rc2
diff plugins/jqueryui/tests/Jqueryui.php @ 0:4681f974d28b
vanilla 1.3.3 distro, I hope
author | Charlie Root |
---|---|
date | Thu, 04 Jan 2018 15:52:31 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/jqueryui/tests/Jqueryui.php Thu Jan 04 15:52:31 2018 -0500 @@ -0,0 +1,23 @@ +<?php + +class Jqueryui_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../jqueryui.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new jqueryui($rcube->api); + + $this->assertInstanceOf('jqueryui', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} +